π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: Dont send activate=true if activation isnt required
jamesread5fcc365efbd5
diff --git a/apps/backend/src/api/routes/auth.controller.ts b/apps/backend/src/api/routes/auth.controller.tsindex bd14422ec..1a0a8af27 100644--- a/apps/backend/src/api/routes/auth.controller.ts+++ b/apps/backend/src/api/routes/auth.controller.ts@@ -30,7 +30,9 @@ export class AuthController {getOrgFromCookie);- if (body.provider === 'LOCAL') {+ const activationRequired = body.provider === 'LOCAL' && !!process.env.RESEND_API_KEY;++ if (activationRequired) {response.header('activate', 'true');response.status(200).json({ activate: true });return;