Wearing badge

This commit is contained in:
2025-03-02 11:52:45 +08:00
parent 378c60cef8
commit 4616f7cc93
4 changed files with 54 additions and 0 deletions

View File

@ -37,6 +37,11 @@ func MapControllers(app *fiber.App, baseURL string) {
preferences.Put("/notifications", updateNotificationPreference)
}
badges := api.Group("/badges").Name("Badges")
{
badges.Post("/:badgeId/active", activeUserBadge)
}
reports := api.Group("/reports").Name("Reports API")
{
abuse := reports.Group("/abuse").Name("Abuse Reports")