From 3e6d910e40f413844e9fd7ba77e426bedd0e3813 Mon Sep 17 00:00:00 2001 From: alphaeusmote <41258468-alphaeusmote@users.noreply.replit.com> Date: Thu, 10 Apr 2025 02:54:47 +0000 Subject: [PATCH] Update user registration to allow UUIDs for organization IDs Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/2985b293-927c-450e-8c26-9502fb837cab.jpg --- server/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/auth.ts b/server/auth.ts index fb016d7..baad8fe 100644 --- a/server/auth.ts +++ b/server/auth.ts @@ -131,7 +131,7 @@ export function setupAuth(app: Express) { password: z.string().min(8).max(100), email: z.string().email(), fullName: z.string().optional(), - organizationId: z.number().optional() + organizationId: z.string().uuid().optional() }); app.post("/api/register", async (req, res, next) => {