From 4b57186cd774c8d2eb6c2612fb00369d7c8eae83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sun, 11 Jun 2023 23:19:13 +0100 Subject: [PATCH] chore: trim whitespace when converting staging key to production --- src/features/settings/settingsSlice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/settings/settingsSlice.ts b/src/features/settings/settingsSlice.ts index dc6dfe4..45097f3 100644 --- a/src/features/settings/settingsSlice.ts +++ b/src/features/settings/settingsSlice.ts @@ -37,7 +37,7 @@ const stagingToProduction = (staging: StagingSettings): ProductionSettings => ({ keys: objectify( staging.qmc2.keys, (item) => item.name.normalize(), - (item) => item.key + (item) => item.key.trim() ), }, });