Browse Source

Linting.

pull/1917/head
mike12345567 5 years ago
parent
commit
abc19bc2c1
  1. 2
      packages/server/src/integrations/utils.ts

2
packages/server/src/integrations/utils.ts

@ -37,7 +37,7 @@ export function breakRowIdField(_id: string) {
}
// have to replace on the way back as we swapped out the double quotes
// when encoding, but JSON can't handle the single quotes
const decoded = decodeURIComponent(_id).replace(/'/g, "\"")
const decoded = decodeURIComponent(_id).replace(/'/g, '"')
const parsed = JSON.parse(decoded)
return Array.isArray(parsed) ? parsed : [parsed]
}

Loading…
Cancel
Save