fix(SPG-544) BE-Validasi Tenant dan Item Tenant
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
parent
5ab14f5c62
commit
d4d4101d69
|
@ -63,7 +63,7 @@ export class ValidateRelationHelper<Entity> {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
throw new UnprocessableEntityException(message);
|
throw new UnprocessableEntityException(message);
|
||||||
} else if (data[`total_${relation.relation} `])
|
} else if (data[`total_${relation.relation}`] > 0)
|
||||||
throw new UnprocessableEntityException(message);
|
throw new UnprocessableEntityException(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue