mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
refactor: simplify account standing and verification levels (#3130)
This commit is contained in:
1 parent
1abde06824
commit
1ec8f31253
488 files changed
+10390
-47117
No files matched your search
@@ -90,7 +90,7 @@ export class OpenAPIOperationBuilder {
|
||||
if (route.path === '/users/@me' || route.path.startsWith('/users/@me/')) {
|
||||
return [{bearerToken: []}, {sessionToken: []}];
|
||||
}
|
||||
if (!route.hasLoginRequired && !route.hasLoginRequiredAllowSuspicious && !route.hasDefaultUserOnly) {
|
||||
if (!route.hasLoginRequired && !route.hasDefaultUserOnly) {
|
||||
return [];
|
||||
}
|
||||
if (route.hasDefaultUserOnly) {
|
||||
|
||||
Reference in new issue
Block a user