Просмотр исходного кода

fix(core): Fix configurable operation id decoding when using uuids (#2483)

jacobfrantz1 2 лет назад
Родитель
Сommit
47f606ccb0
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      packages/core/src/api/common/configurable-operation-codec.ts

+ 1 - 2
packages/core/src/api/common/configurable-operation-codec.ts

@@ -43,8 +43,7 @@ export class ConfigurableOperationCodec {
                         const decodedIds = ids.map(id => this.idCodecService.decode(id));
                         arg.value = JSON.stringify(decodedIds);
                     } else {
-                        const decodedId = this.idCodecService.decode(arg.value);
-                        arg.value = JSON.stringify(decodedId);
+                        arg.value = this.idCodecService.decode(arg.value);
                     }
                 }
             }