The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix AuthException parameters
Weiko4ed1db3845a1
diff --git a/packages/twenty-server/src/engine/core-modules/auth/controllers/google-auth.controller.ts b/packages/twenty-server/src/engine/core-modules/auth/controllers/google-auth.controller.tsindex ebe6efef876..d4a1cd48505 100644--- a/packages/twenty-server/src/engine/core-modules/auth/controllers/google-auth.controller.ts+++ b/packages/twenty-server/src/engine/core-modules/auth/controllers/google-auth.controller.ts@@ -124,7 +124,7 @@ export class GoogleAuthController {}),);}- throw new AuthException(AuthExceptionCode.INTERNAL_SERVER_ERROR, err);+ throw new AuthException(err, AuthExceptionCode.INTERNAL_SERVER_ERROR);}}}