Add missing await
This commit is contained in:
parent
1f42409826
commit
9f0c9c595d
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ export async function createSite(req: Request, res: Response, next: NextFunction
|
|||
return next(createHttpError(HttpCode.FORBIDDEN, 'User does not have a role'));
|
||||
}
|
||||
|
||||
const niceId = getUniqueName();
|
||||
const niceId = await getUniqueName(orgId);
|
||||
|
||||
// TODO: pick a subnet
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue