mirror of
https://github.com/writefreely/writefreely
synced 2024-11-28 11:30:18 +00:00
Don't fail Invite page rendering on IsUserSuspended check
This commit is contained in:
parent
8cfffb5650
commit
b78f64bad3
1 changed files with 0 additions and 1 deletions
|
@ -67,7 +67,6 @@ func handleViewUserInvites(app *App, u *User, w http.ResponseWriter, r *http.Req
|
|||
p.Suspended, err = app.db.IsUserSuspended(u.ID)
|
||||
if err != nil {
|
||||
log.Error("view invites: %v", err)
|
||||
return ErrInternalGeneral
|
||||
}
|
||||
|
||||
p.Invites, err = app.db.GetUserInvites(u.ID)
|
||||
|
|
Loading…
Reference in a new issue