From ace474eb2c4fc788a18c05ff5a415428fb657403 Mon Sep 17 00:00:00 2001 From: diced Date: Sat, 3 Dec 2022 08:37:37 -0800 Subject: [PATCH] feat(v3.6.3): version --- package.json | 2 +- src/lib/middleware/withOAuth.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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, });