From b5b7014c006c137f69b40ade52dbe307e2cbd4cb Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Thu, 3 Oct 2024 19:06:24 +0200 Subject: [PATCH] refactor: :rotating_light: Add empty default case to OpenID grant_type handler --- plugins/openid/routes/oauth/token.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/openid/routes/oauth/token.ts b/plugins/openid/routes/oauth/token.ts index 57d00f0e..836736ea 100644 --- a/plugins/openid/routes/oauth/token.ts +++ b/plugins/openid/routes/oauth/token.ts @@ -205,6 +205,8 @@ export default (plugin: PluginType) => { 200, ); } + + default: } return context.json(