Remove "misc" scope check from public API endpoints (#26134)

Fix #26035
This commit is contained in:
wxiaoguang authored and GitHub committed 2023-07-26 02:53:31 +00:00
1 parent 9ed3700ad2
commit 915cdf8f87
4 files changed
+33 -63

No files matched your search

+1 -1
View File
@@ -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