mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-12-01 01:05:10 +08:00
fix(codex-auth): add reset card actions and tests
This commit is contained in:
1 parent
c379c315e6
commit
20fdea8fb3
4 files changed
+118
-8
No files matched your search
@@ -142,9 +142,7 @@ async function dispatch(message: { id: string; method: string; params?: JsonValu
|
||||
case "oauth.begin": {
|
||||
const support = resourceSupport(params.resourceType);
|
||||
const method = addMethod(support, params.methodId);
|
||||
result = method.type === "oauth2.authorization-code"
|
||||
? await method.begin(params.authorization as never, context)
|
||||
: await method.begin(context);
|
||||
result = method.type === "oauth2.authorization-code" ? await method.begin(params.authorization as never, context) : await method.begin(context);
|
||||
break;
|
||||
}
|
||||
case "oauth.poll": {
|
||||
|
||||
Reference in new issue
Block a user