Targets working?

This commit is contained in:
Owen Schwartz 2024-10-19 20:47:05 -04:00
parent 0fa3382cda
commit bf106c221e
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
3 changed files with 208 additions and 188 deletions

View file

@ -33,7 +33,7 @@ export async function verifyTargetAccess(req: Request, res: Response, next: Next
const resourceId = target[0].resourceId;
if (resourceId) {
if (!resourceId) {
return next(
createHttpError(
HttpCode.INTERNAL_SERVER_ERROR,