feat: fix issues
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user