fix signature update error

This commit is contained in:
tickstep 2023-02-19 17:36:23 +08:00
parent 4ba61c19c8
commit c5a5cb906d

View File

@ -168,8 +168,8 @@ func RefreshTokenInNeed(activeUser *config.PanUser, deviceName string) bool {
logger.Verbosef("UserTokenRefreshFinishCallback error: " + er1.Error())
}
// update signature
activeUser.PanClient().CalcNextSignature()
// create new signature
activeUser.PanClient().CalcSignature()
_, e := activeUser.PanClient().CreateSession(&aliyunpan.CreateSessionParam{
DeviceName: deviceName,
ModelName: "Windows网页版",