From f2df16fe55d034e3d68aa4ed665a29e18ef92385 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Wed, 6 Aug 2025 10:41:42 +0200 Subject: [PATCH] Fix getting project configuration data --- lib/www/server/lib/db/configuration/get.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/www/server/lib/db/configuration/get.js b/lib/www/server/lib/db/configuration/get.js index 6c92821..6c61e22 100644 --- a/lib/www/server/lib/db/configuration/get.js +++ b/lib/www/server/lib/db/configuration/get.js @@ -2,7 +2,7 @@ const { setSurvey, pool } = require('../connection'); async function get (projectId, path, opts = {}) { - const text = `SELECT meta FROM public.projects WHERE pid = $1;`; + const text = `SELECT meta data FROM public.projects WHERE pid = $1;`; const res = await pool.query(text, [projectId]); const config = res.rows.length == 1