Skip to content

Commit

Permalink
fix: error should be an IsNotFoundError (supabase#1432)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangmingtay authored and LashaJini committed Nov 13, 2024
1 parent 2393f7f commit 36653cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/models/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ func IsNotFoundError(err error) bool {
return true
case ConfirmationTokenNotFoundError, *ConfirmationTokenNotFoundError:
return true
case ConfirmationOrRecoveryTokenNotFoundError, *ConfirmationOrRecoveryTokenNotFoundError:
return true
case RefreshTokenNotFoundError, *RefreshTokenNotFoundError:
return true
case IdentityNotFoundError, *IdentityNotFoundError:
Expand Down

0 comments on commit 36653cb

Please sign in to comment.