add rest client
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
2026-09-27 03:09:22 +02:00
parent f0f1819a1f
commit 2d6fa7b7ee
17 changed files with 243 additions and 21 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ func GenerateToken(profile_id string) (string, error) {
"name": "Thomas Peetz",
"admin": true,
"authorized": true,
"profile_id": profile_id,
"sub": profile_id,
"exp": time.Now().Add(time.Hour * 72).Unix(),
}
// claims["authorized"] = true