mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-07 11:16:37 +00:00
Add missing await
This commit is contained in:
@@ -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'));
|
return next(createHttpError(HttpCode.FORBIDDEN, 'User does not have a role'));
|
||||||
}
|
}
|
||||||
|
|
||||||
const niceId = getUniqueName();
|
const niceId = await getUniqueName(orgId);
|
||||||
|
|
||||||
// TODO: pick a subnet
|
// TODO: pick a subnet
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user