From c2bff5ed8380b4bb3d7ca49d63c44747e2b61480 Mon Sep 17 00:00:00 2001 From: tanlang Date: Tue, 14 Feb 2023 05:13:45 +0000 Subject: [PATCH] fix: typo --- auth/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/app.go b/auth/app.go index 8af213d..c54f780 100644 --- a/auth/app.go +++ b/auth/app.go @@ -109,7 +109,7 @@ func (o *oauthApp) GetDefaultAdminToken() (string, error) { Perm: core.PermAdmin, }) if err != nil { - return "", fmt.Errorf("create default admin token : %w", err) + return "", fmt.Errorf("create default admin token: %w", err) } return ret, nil