Skip to content

Commit

Permalink
fix(modlog): adjust capitalization for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
astyled authored and vednoc committed May 2, 2024
1 parent 6011def commit 99aaf0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions handlers/core/modlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ func GetModLog(c *fiber.Ctx) error {
bannedUsers, err := models.GetLogOfKind(models.LogBanUser)
if err != nil {
return c.Render("err", fiber.Map{
"Title": "Internal Server error",
"Title": "Internal server error",
"User": u,
})
}

removedStyles, err := models.GetLogOfKind(models.LogRemoveStyle)
if err != nil {
return c.Render("err", fiber.Map{
"Title": "Internal Server error",
"Title": "Internal server error",
"User": u,
})
}

reviews, err := models.GetLogOfKind(models.LogRemoveReview)
if err != nil {
return c.Render("err", fiber.Map{
"Title": "Internal Server error",
"Title": "Internal server error",
"User": u,
})
}
Expand Down

0 comments on commit 99aaf0e

Please sign in to comment.