mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 12:27:07 +00:00
Fix metadata retrieval from preplots
This commit is contained in:
@@ -48,7 +48,7 @@ async function put (projectId, payload, opts = {}) {
|
||||
|
||||
await client.query(text, values);
|
||||
} else if (rec.point && rec.line) {
|
||||
const table = tables.points[type][0]
|
||||
const table = tables.lines[type][0]
|
||||
const text = `
|
||||
UPDATE ${table}
|
||||
SET meta = jsonb_set(meta, $1, $2)
|
||||
|
||||
Reference in New Issue
Block a user