Targets working?

This commit is contained in:
Owen Schwartz 2024-10-19 20:47:05 -04:00
parent 38bcbfdb8f
commit b8cf52bccd
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,