diff --git a/package.json b/package.json index df4a2f1..aa8780a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zipline", - "version": "3.6.2", + "version": "3.6.3", "license": "MIT", "scripts": { "dev": "npm-run-all build:server dev:run", diff --git a/src/lib/middleware/withOAuth.ts b/src/lib/middleware/withOAuth.ts index 94433aa..8d8d344 100644 --- a/src/lib/middleware/withOAuth.ts +++ b/src/lib/middleware/withOAuth.ts @@ -32,8 +32,7 @@ export const withOAuth = function oauthError(error: string) { if (config.features.headless) - return res.json({ - error, + return res.badRequest(error, { provider, });