fix: link auth bug.

oneRain 2021-04-29 15:57:25 +08:00
parent b91403bef6
commit d3a1f055af
1 changed files with 1 additions and 1 deletions

View File

@ -550,7 +550,7 @@ namespace LeanCloud.Storage {
}
async Task LinkWithAuthData(string authType, Dictionary<string, object> data) {
Dictionary<string, object> oriAuthData = new Dictionary<string, object>(AuthData);
Dictionary<string, object> oriAuthData = new Dictionary<string, object>(AuthData ?? new Dictionary<string, object>());
AuthData = new Dictionary<string, object> {
{ authType, data }
};