fix: duplicated X-LC-Session
parent
0ef89b36ea
commit
64f02eca54
|
@ -206,7 +206,7 @@ namespace LeanCloud.Storage.Internal.Http {
|
|||
}
|
||||
// 当前用户 Session Token
|
||||
LCUser currentUser = await LCUser.GetCurrent();
|
||||
if (currentUser != null) {
|
||||
if (!headers.Contains("X-LC-Session") && currentUser != null) {
|
||||
headers.Add("X-LC-Session", currentUser.SessionToken);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue