feat: Most of Item and Order controllers

This commit is contained in:
2025-11-10 20:32:23 -07:00
parent 6313a85e96
commit c81b181515
12 changed files with 421 additions and 28 deletions

View File

@@ -157,6 +157,7 @@ func IsAuthenticated(auth *auth.Authenticator) gin.HandlerFunc {
} else {
if !HandleRefreshToken(session) {
context.String(http.StatusUnauthorized, "Failed to refresh access token")
context.Abort()
return
} else {
context.Next()