chore: trim whitespace when converting staging key to production
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
鲁树人 2023-06-11 23:19:13 +01:00
parent e956fb60ad
commit 0b82d267c9

View File

@ -37,7 +37,7 @@ const stagingToProduction = (staging: StagingSettings): ProductionSettings => ({
keys: objectify( keys: objectify(
staging.qmc2.keys, staging.qmc2.keys,
(item) => item.name.normalize(), (item) => item.name.normalize(),
(item) => item.key (item) => item.key.trim()
), ),
}, },
}); });