Skip to content

Commit

Permalink
WIP: trying to see why things fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ewollesen committed Jan 5, 2024
1 parent 029f2af commit 63555a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/invite.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ func (a *Api) AcceptInvite(res http.ResponseWriter, req *http.Request, vars map[
}
a.logger(ctx).With(zapPermsField(setPerms)).Info("permissions set")
if ctc.AlertsConfig != nil && ctc.Permissions["follow"] != nil {
a.logger(ctx).With("config", ctc.AlertsConfig, "ctx", ctx, "error direct", err).Info("alerts")
if err := a.alerts.Upsert(ctx, ctc.AlertsConfig); err != nil {
a.sendError(ctx, res, http.StatusInternalServerError, STATUS_ERR_CREATING_ALERTS_CONFIG, err)
return
Expand Down

0 comments on commit 63555a5

Please sign in to comment.