Updated gerbil key handeling

This commit is contained in:
Owen Schwartz
2024-10-26 17:02:11 -04:00
parent 6cee5703b5
commit 7feb21e727
5 changed files with 25 additions and 17 deletions

View File

@@ -75,7 +75,7 @@ export async function createResource(req: Request, res: Response, next: NextFunc
}
// Generate a unique resourceId
const fullDomain = `${subdomain}.${org[0].orgId}.${org[0].domain}`;
const fullDomain = `${subdomain}.${org[0].domain}`;
// Create new resource in the database
const newResource = await db.insert(resources).values({