Skip to content

Commit

Permalink
fix: error should be an IsNotFoundError (#1432)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangmingtay committed Feb 15, 2024
1 parent effef1b commit 7f40047
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 7f40047

Please sign in to comment.