Skip to content

Commit

Permalink
fix lint / handle error
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-r-warren committed Oct 9, 2024
1 parent 42e2905 commit 8aa8746
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ func usersProceduresV3Deactivate(ctx *gin.Context) {
}
return nil
})
if err != nil {
errors.AbortRequest(ctx, fmt.Errorf("error deactivating users: %w", err))
return
}

slack.SendPermissionChangeNotification(ctx, callingUser.SlackReference(true), notification)

Expand Down

0 comments on commit 8aa8746

Please sign in to comment.