fix style errors
tronnet/workflows: Static Analysis -- Golang / static-go (push) Failing after 14s

This commit is contained in:
alu
2026-08-10 21:33:11 +00:00
parent ee59134778
commit 82c3ba64b7
4 changed files with 21 additions and 24 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func GetUserSessionFromContext(c *gin.Context) (*UserSession, int, error) {
session := sessions.Default(c)
SessionUUID := session.Get("SessionUUID")
if SessionUUID == nil {
return nil, http.StatusUnauthorized, fmt.Errorf("No auth session found")
return nil, http.StatusUnauthorized, fmt.Errorf("no auth session found")
}
uuid := SessionUUID.(string)
usersession := UserSessions[uuid]