diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-07-26 10:53:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 02:53:31 +0000 |
commit | 915cdf8f87380bb6ea9cb518837726eb85c89fc7 (patch) | |
tree | 04aaf3b8d0b75b341902bac3dbbd37629d9089d5 /models/auth | |
parent | 9ed3700ad2b373b6fa22f50dbd31ca106e1f82bc (diff) | |
download | gitea-915cdf8f87380bb6ea9cb518837726eb85c89fc7.tar.gz gitea-915cdf8f87380bb6ea9cb518837726eb85c89fc7.zip |
Remove "misc" scope check from public API endpoints (#26134)
Fix #26035
Diffstat (limited to 'models/auth')
-rw-r--r-- | models/auth/token_scope.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/auth/token_scope.go b/models/auth/token_scope.go index 61e684ea27..fe57276700 100644 --- a/models/auth/token_scope.go +++ b/models/auth/token_scope.go @@ -16,7 +16,7 @@ type AccessTokenScopeCategory int const ( AccessTokenScopeCategoryActivityPub = iota AccessTokenScopeCategoryAdmin - AccessTokenScopeCategoryMisc + AccessTokenScopeCategoryMisc // WARN: this is now just a placeholder, don't remove it which will change the following values AccessTokenScopeCategoryNotification AccessTokenScopeCategoryOrganization AccessTokenScopeCategoryPackage |