first time with go, whoops

This commit is contained in:
Alex Westerman 2026-05-29 17:03:13 -04:00 committed by GitHub
parent 683cf57aae
commit 39d6c6696b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,7 +92,7 @@ func (g *garage) GetAdminKey() string {
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }
return key return string(key)
} }
key := os.Getenv("API_ADMIN_KEY") key := os.Getenv("API_ADMIN_KEY")