refactor: simplify account standing and verification levels (#3130)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-02 18:17:41 +02:00
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) {