Don't fail Invite page rendering on IsUserSuspended check

This commit is contained in:
Matt Baer 2020-02-09 10:57:08 -05:00
parent 8cfffb5650
commit b78f64bad3

View file

@ -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)