diff options
Diffstat (limited to 'internal/db/user_mail.go')
-rw-r--r-- | internal/db/user_mail.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/user_mail.go b/internal/db/user_mail.go index d657faa0..01ab4c5b 100644 --- a/internal/db/user_mail.go +++ b/internal/db/user_mail.go @@ -166,7 +166,7 @@ func MakeEmailPrimary(userID int64, email *EmailAddress) error { if err != nil { return err } else if !has { - return ErrUserNotExist{args: map[string]interface{}{"userID": email.UserID}} + return ErrUserNotExist{args: map[string]any{"userID": email.UserID}} } // Make sure the former primary email doesn't disappear. |