🗃️ Update models

This commit is contained in:
2024-02-21 20:40:39 +08:00
parent 3b0cbbb6c9
commit 3393f751a0
2 changed files with 6 additions and 7 deletions

View File

@ -3,7 +3,6 @@ package server
import (
"code.smartsheep.studio/hydrogen/identity/pkg/security"
"code.smartsheep.studio/hydrogen/identity/pkg/services"
"fmt"
"github.com/gofiber/fiber/v2"
"strings"
)
@ -21,7 +20,6 @@ func authMiddleware(c *fiber.Ctx) error {
c.Locals("token", token)
if err := authFunc(c); err != nil {
fmt.Println("Watch out!", err)
return err
}