update
This commit is contained in:
@ -163,8 +163,10 @@ export class RegistrationFeeController {
|
||||
id: Joi.string().uuid().required().label("ID"),
|
||||
});
|
||||
|
||||
const param: any = await schema.validateAsync(req.body);
|
||||
|
||||
const param: any = await schema.validateAsync({
|
||||
...req.body,
|
||||
id: req.params.id
|
||||
});
|
||||
if (param.service && param.service.length > 0) {
|
||||
for (const serviceId of param.service) {
|
||||
const serviceExist = await OrmHelper.DB.getRepository(Service)
|
||||
|
||||
Reference in New Issue
Block a user