yes i do not care about commit messages

This commit is contained in:
adman
2025-12-15 22:53:47 +01:00
parent c58dbbe5b0
commit 48ca58d8dc
9 changed files with 5 additions and 72 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ type Account struct {
}
const (
ApiBase = "https://api.minecraftservices.com"
BaseUrlApi = "https://api.minecraftservices.com"
)
func (a *Account) doMcApiRequest(method string, url string, from any, to any) (err error) {
@@ -72,7 +72,7 @@ type PlayerKeys struct {
}
func (a *Account) FetchKeys() (keys PlayerKeys, err error) {
err = a.doMcApiRequest("POST", ApiBase+"/player/certificates", nil, &keys)
err = a.doMcApiRequest("POST", BaseUrlApi+"/player/certificates", nil, &keys)
return
}