Skip to content

Commit

Permalink
Merge pull request #28 from discordextremelist/master
Browse files Browse the repository at this point in the history
Fixes #27
  • Loading branch information
IceeMC authored Oct 6, 2022
2 parents 8e5f230 + e8e5a90 commit bcfade6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/bots.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ func UpdateStats(w http.ResponseWriter, r *http.Request) {
if err == mongo.ErrNoDocuments {
entities.NotFound(w, r)
} else {
sentry.CaptureException(err)
entities.WriteErrorResponse(w, err)
}
sentry.CaptureException(err)
return
}
if !util.Dev && (r.Header.Get(util.Authorization) != bot.Token) {
Expand Down

0 comments on commit bcfade6

Please sign in to comment.