feat: fix issues

This commit is contained in:
Rogee
2025-04-30 15:59:42 +08:00
parent be605ef603
commit af0507d0c1
8 changed files with 60 additions and 21 deletions

View File

@@ -20,7 +20,7 @@ func (f *Middlewares) Auth(ctx fiber.Ctx) error {
return ctx.Next()
}
if f.app.IsDevMode() {
if f.app.IsDevMode() && false {
user, err := models.Users.GetByID(ctx.Context(), 1)
if err != nil {
return ctx.Send([]byte("User not found"))