diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 1f4f429..0c0412c 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,7 @@
-
+
@@ -149,7 +149,6 @@
-
@@ -174,7 +173,8 @@
-
+
+
true
diff --git a/pkg/internal/server/admin/index.go b/pkg/internal/server/admin/index.go
index 33ffbe8..46d95dc 100644
--- a/pkg/internal/server/admin/index.go
+++ b/pkg/internal/server/admin/index.go
@@ -4,7 +4,7 @@ import (
"github.com/gofiber/fiber/v2"
)
-func MapAdminEndpoints(app *fiber.App) {
+func MapAdminAPIs(app *fiber.App) {
admin := app.Group("/api/admin")
{
admin.Post("/badges", grantBadge)
diff --git a/pkg/internal/server/server.go b/pkg/internal/server/server.go
index 870d027..b95bdd5 100644
--- a/pkg/internal/server/server.go
+++ b/pkg/internal/server/server.go
@@ -61,8 +61,8 @@ func NewServer() *HTTPApp {
app.Use(exts.AuthMiddleware)
app.Use(i18n.I18nMiddleware)
+ admin.MapAdminAPIs(app)
api.MapAPIs(app)
- admin.MapAdminEndpoints(app)
app.Use(filesystem.New(filesystem.Config{
Root: http.Dir(viper.GetString("frontend_app")),