fix(backend): fix duplicate success in deleteSymptom
Deploy Canina / deploy (push) Successful in 2m33s

This commit is contained in:
devops committed 2026-10-18 13:28:39 +00:00
1 parent c7b95b4d2b
commit b54338f91f
1 file changed
+2 -2
+2 -2
View File
@@ -360,7 +360,7 @@ export class AdminController {
@ApiOperation({ summary: "لیست کامل علائم درمانی با صفحه‌بندی، جستجو و متادیتا" })
async getSymptoms(@Query() query: { page?: number; limit?: number; search?: string }) {
const res = await this.adminService.getSymptoms(query);
return { success: true, ...res };
return res;
}
@Post("symptoms")
@@ -381,7 +381,7 @@ export class AdminController {
@ApiOperation({ summary: "حذف علامت درمانی" })
async deleteSymptom(@Param("id") id: string) {
const res = await this.adminService.deleteSymptom(id);
return { success: true, ...res };
return res;
}
}