Skip to content

Commit

Permalink
fix: Correct the id value passed to .unlinkIdentity() method (#841)
Browse files Browse the repository at this point in the history
fix(gotrue): unlink identity
  • Loading branch information
Alexays committed Feb 17, 2024
1 parent afc4ce5 commit 0585cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gotrue/lib/src/gotrue_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ class GoTrueClient {
/// The user will no longer be able to sign in with that identity once it's unlinked.
Future<void> unlinkIdentity(UserIdentity identity) async {
await _fetch.request(
'$_url/user/identities/${identity.id}',
'$_url/user/identities/${identity.identityId}',
RequestMethodType.delete,
options: GotrueRequestOptions(
headers: headers,
Expand Down

0 comments on commit 0585cdd

Please sign in to comment.