Fix variants query by removing non-existent fid column
Deploy TrassenPlaner / deploy (push) Waiting to run
Details
Deploy TrassenPlaner / deploy (push) Waiting to run
Details
This commit is contained in:
parent
945b01b8f4
commit
1185a5b5e0
|
|
@ -187,7 +187,7 @@ app.get('/api/variants', async (req, res) => {
|
||||||
await setSchema(client);
|
await setSchema(client);
|
||||||
const query = `
|
const query = `
|
||||||
SELECT
|
SELECT
|
||||||
COALESCE(id, fid) AS id, name, "Variante",
|
id, name, "Variante",
|
||||||
ST_AsGeoJSON(ST_Transform(geom, 4326)) as geometry
|
ST_AsGeoJSON(ST_Transform(geom, 4326)) as geometry
|
||||||
FROM kabeltrasse
|
FROM kabeltrasse
|
||||||
ORDER BY id DESC
|
ORDER BY id DESC
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue