From 17c5ab79d2f01c6a515f6e2a2c716e222ee2de38 Mon Sep 17 00:00:00 2001 From: Claudemir Todo Bom Date: Thu, 16 May 2024 10:58:16 -0300 Subject: [PATCH] Fix read of settings by not super --- backend/src/services/SettingServices/ListSettingsService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/services/SettingServices/ListSettingsService.ts b/backend/src/services/SettingServices/ListSettingsService.ts index c38b90c5..e5f633ba 100644 --- a/backend/src/services/SettingServices/ListSettingsService.ts +++ b/backend/src/services/SettingServices/ListSettingsService.ts @@ -13,7 +13,7 @@ const ListSettingsService = async ({ const where: WhereOptions = { companyId }; if (!isSuper) { where.key = { - [Op.notLike]: "_%" + [Op.notLike]: "\\_%" } }