We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2341dd0 commit 437bd9eCopy full SHA for 437bd9e
FirebaseAdmin/FirebaseAdmin/Auth/FirebaseUserManager.cs
@@ -74,7 +74,7 @@ public async Task UpdateUserAsync(
74
const string updatePath = "accounts:update";
75
var response = await this.PostAndDeserializeAsync<JObject>(
76
updatePath, user, cancellationToken).ConfigureAwait(false);
77
- if (response["localId"]?.Value<string>() != user.Uid)
+ if (user.Uid != (string)response["localId"])
78
{
79
throw new FirebaseException($"Failed to update user: {user.Uid}");
80
}
0 commit comments