Skip to content

Commit

Permalink
fix(modlog): adjust capitalization for errors (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
astyled authored May 2, 2024
1 parent b5a9897 commit b7e95ef
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 b7e95ef

Please sign in to comment.