Browse Source

Merge pull request #9616 from nakul251197/fix/primary-key-slash

fix: encode primary key before sending PATCH request
pull/9618/head
Pranav C 2 months ago committed by GitHub
parent
commit
525b854473
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/nc-gui/composables/useData.ts

2
packages/nc-gui/composables/useData.ts

@ -208,7 +208,7 @@ export function useData(args: {
base?.value.id as string, base?.value.id as string,
metaValue?.id as string, metaValue?.id as string,
viewMetaValue?.id as string, viewMetaValue?.id as string,
id, encodeURIComponent(id),
{ {
// if value is undefined treat it as null // if value is undefined treat it as null
[property]: toUpdate.row[property] ?? null, [property]: toUpdate.row[property] ?? null,

Loading…
Cancel
Save