update: add new field for subscription of user when purchased
This commit is contained in:
@@ -104,7 +104,7 @@ export class DanakServicesService {
|
||||
},
|
||||
order: { createdAt: "DESC" },
|
||||
});
|
||||
if (!category) throw new BadRequestException(CategoryMessage.CATEGORY_NOT_EXIST);
|
||||
if (!category) throw new BadRequestException(CategoryMessage.CATEGORY_NOT_EXIST_OR_HAS_NO_SERVICE);
|
||||
return {
|
||||
category,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user