Skip to content

Commit

Permalink
Update internal/api/verify.go
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Lee <[email protected]>
  • Loading branch information
kangmingtay and J0 authored Feb 8, 2024
1 parent 0df2683 commit d40d787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func (a *API) smsVerify(r *http.Request, ctx context.Context, conn *storage.Conn
}
}

if terr := tx.Load(user, "Identities"); terr != nil {
if terr := tx.Load(user, models.Identity{}.TableName()); terr != nil {
return internalServerError("Error refetching identities").WithInternalError(terr)
}
return nil
Expand Down

0 comments on commit d40d787

Please sign in to comment.