Fix commonjs import/export for patchRouterParam and make secret versioning/snapshots compatible with prev unversioned secrets

This commit is contained in:
Tuan Dang
2022-12-26 17:52:13 -05:00
parent 9f724b5ede
commit 0c6dfbe4b4
5 changed files with 67 additions and 49 deletions
@@ -19,10 +19,8 @@ class EESecretService {
* @param {String} obj.workspaceId
*/
static async takeSecretSnapshot({
licenseKey,
workspaceId
}: {
licenseKey: string;
workspaceId: string;
}) {
if (!EELicenseService.isLicenseValid) return;