From feb5c428dbfee4d9082b279a63b9abd49f192e1b Mon Sep 17 00:00:00 2001 From: Lucy C <12953208+elvece@users.noreply.github.com> Date: Mon, 3 Oct 2022 10:45:05 -0600 Subject: [PATCH] Update client/lib/json-patch-lib.ts --- client/lib/json-patch-lib.ts | 1 + 1 file changed, 1 insertion(+) 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'), )