mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:57:08 +00:00
Fix db.configuration.get()
This commit is contained in:
@@ -12,7 +12,7 @@ async function get (projectId, opts = {}) {
|
||||
|
||||
const res = await client.query(text, [projectId]);
|
||||
client.release();
|
||||
return res.rows[0];
|
||||
return res.rows[0].meta;
|
||||
} catch (err) {
|
||||
if (err.code == "42P01") {
|
||||
throw { status: 404, message: "Not found" };
|
||||
|
||||
Reference in New Issue
Block a user