fix: installments validate failed on update no payload

This commit is contained in:
Methapon2001 2025-02-17 10:02:58 +07:00
parent 23baff94de
commit f26de4f639

View file

@ -466,12 +466,6 @@ export class ServiceController extends Controller {
);
}
}
} else {
throw new HttpError(
HttpStatus.BAD_REQUEST,
"Installments validate failed.",
"installmentsValidateFailed",
);
}
const record = await prisma.$transaction(async (tx) => {