Skip to content

Commit

Permalink
Merge pull request #416 from rabilrbl/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
rabilrbl authored Sep 10, 2024
2 parents a35c3c5 + f34465e commit da451d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion internal/handlers/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func LoginRefreshSSOToken() error {
req.Header.Set("User-Agent", "okhttp/4.2.2")
req.Header.Set("ssoToken", tokenData.SSOToken)
req.Header.Set("uniqueid", tokenData.UniqueID)
req.Header.Set("deviceid",utils.GetDeviceID())
req.Header.Set("deviceid", utils.GetDeviceID())

// Send the request
resp := fasthttp.AcquireResponse()
Expand Down
2 changes: 1 addition & 1 deletion pkg/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var KVS *TomlStore
func Init() error {
KVS = &TomlStore{}
// store_vX.toml, where X is changed whenever new version requires re-login
filename := filepath.Join(GetPathPrefix(), "store_v3.toml")
filename := filepath.Join(GetPathPrefix(), "store_v4.toml")

KVS.mu.Lock()
defer KVS.mu.Unlock()
Expand Down
4 changes: 2 additions & 2 deletions pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func LoginVerifyOTP(number, otp string) (map[string]string, error) {
Platform: LoginPayloadDeviceInfoInfoPlatform{
Name: "SM-G930F",
},
AndroidID: "6fcadeb7b4b10d77",
AndroidID: GetDeviceID(),
},
},
}
Expand Down Expand Up @@ -249,7 +249,7 @@ func Login(username, password string) (map[string]string, error) {
Name: "vbox86p",
Version: "8.0.0",
},
AndroidID: "6fcadeb7b4b10d77",
AndroidID: GetDeviceID(),
},
},
}
Expand Down

0 comments on commit da451d4

Please sign in to comment.