fix(SPG-544) BE-Validasi Tenant dan Item Tenant
continuous-integration/drone/tag Build is passing Details

pull/13/head devel_10.5.5
Aswin Ashar Abdullah 2024-07-04 08:19:02 +07:00
parent 5ab14f5c62
commit d4d4101d69
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ export class ValidateRelationHelper<Entity> {
)
)
throw new UnprocessableEntityException(message);
} else if (data[`total_${relation.relation} `])
} else if (data[`total_${relation.relation}`] > 0)
throw new UnprocessableEntityException(message);
}
}