diff options
Diffstat (limited to 'routers/api/v1/user/email.go')
-rw-r--r-- | routers/api/v1/user/email.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/api/v1/user/email.go b/routers/api/v1/user/email.go index f42fc11cf6..0d83aa38c1 100644 --- a/routers/api/v1/user/email.go +++ b/routers/api/v1/user/email.go @@ -73,6 +73,7 @@ func DeleteEmail(ctx *context.APIContext, form api.CreateEmailOption) { for i := range form.Emails { emails[i] = &models.EmailAddress{ Email: form.Emails[i], + UID: ctx.User.ID, } } |