mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 14:32:14 +08:00
fix signature update error
This commit is contained in:
parent
4ba61c19c8
commit
c5a5cb906d
@ -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网页版",
|
||||
|
Loading…
Reference in New Issue
Block a user