Don't fail Invite page rendering on IsUserSuspended check

pull/208/head
Matt Baer 5 years ago
parent 8cfffb5650
commit b78f64bad3
  1. 1
      invites.go

@ -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…
Cancel
Save