Fix indentation

This commit is contained in:
D. Berge
2023-08-30 13:42:25 +02:00
parent 1e593e6d75
commit 3dd1aaeddb

View File

@@ -116,7 +116,7 @@ async function addProjectToList (projectDefinition) {
`;
const values = [ projectDefinition.id, projectDefinition.name, projectDefinition.schema, projectDefinition ];
try {
return await pool.query(sql, values);
return await pool.query(sql, values);
} catch (err) {
if (err.code == "23505") {
if (err.constraint == "projects_name_key") {