Updated gerbil key handeling

This commit is contained in:
Owen Schwartz 2024-10-26 17:02:11 -04:00
parent 6cee5703b5
commit 7feb21e727
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
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({