diff --git a/client/lib/json-patch-lib.ts b/client/lib/json-patch-lib.ts index f36c0a6..99b8095 100644 --- a/client/lib/json-patch-lib.ts +++ b/client/lib/json-patch-lib.ts @@ -60,6 +60,7 @@ export function pathFromArray(args: Array): string { args .map(a => String(a) + // do not change order, "~" needs to be replaced first .replace(new RegExp('~', 'g'), '~0') .replace(new RegExp('/', 'g'), '~1'), )