This commit is contained in:
2026-03-25 23:33:25 +07:00
parent 5e70645ab3
commit 3053c1f29c

View File

@@ -9,7 +9,7 @@ import (
func NotFoundRoute(app *fiber.App) { func NotFoundRoute(app *fiber.App) {
app.Use( app.Use(
func(c fiber.Ctx) error { func(c fiber.Ctx) error {
return c.Status(fiber.StatusOK).JSON(response.CommonResponse{ return c.Status(fiber.StatusNotFound).JSON(response.CommonResponse{
Status: false, Status: false,
Message: "sorry, endpoint is not found", Message: "sorry, endpoint is not found",
}) })