함수 호출 잘못된 거 수정
This commit is contained in:
@ -289,7 +289,7 @@ func (mg *Maingate) platform_apple_getuserinfo(refreshToken string) (bool, strin
|
|||||||
}
|
}
|
||||||
|
|
||||||
if respReferesh.Error != "" {
|
if respReferesh.Error != "" {
|
||||||
logger.Error("apple returned an error: %s - %s\n", respReferesh.Error, respReferesh.ErrorDescription)
|
logger.Errorf("apple returned an error: %s - %s\n", respReferesh.Error, respReferesh.ErrorDescription)
|
||||||
return false, "", ""
|
return false, "", ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -263,7 +263,7 @@ func (mg *Maingate) platform_gamepot_authorize_raw(w http.ResponseWriter, brinfo
|
|||||||
// fmt.Println("==============================")
|
// fmt.Println("==============================")
|
||||||
|
|
||||||
if respLoginCheck.Status != 0 {
|
if respLoginCheck.Status != 0 {
|
||||||
logger.Errorf("gamepot login fail:", respLoginCheck.Message)
|
logger.Error("gamepot login fail:", respLoginCheck.Message)
|
||||||
w.WriteHeader(http.StatusBadRequest)
|
w.WriteHeader(http.StatusBadRequest)
|
||||||
return false, ""
|
return false, ""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user