mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 08:32:00 +00:00
chore: bump to 2026.2.1
This commit is contained in:
@@ -19,9 +19,8 @@ const OAUTH_PROVIDER_IDS = new Set<OAuthProvider>(
|
||||
getOAuthProviders().map((provider) => provider.id),
|
||||
);
|
||||
|
||||
function isOAuthProvider(provider: string): provider is OAuthProvider {
|
||||
return OAUTH_PROVIDER_IDS.has(provider);
|
||||
}
|
||||
const isOAuthProvider = (provider: string): provider is OAuthProvider =>
|
||||
OAUTH_PROVIDER_IDS.has(provider);
|
||||
|
||||
const resolveOAuthProvider = (provider: string): OAuthProvider | null =>
|
||||
isOAuthProvider(provider) ? provider : null;
|
||||
|
||||
Reference in New Issue
Block a user