feat: fix project query by slug (now accepts an org ID)

This commit is contained in:
Daniel Hougaard
2024-02-24 05:03:54 +01:00
parent 96abbd9f80
commit bd3cbb3c7b

View File

@@ -186,6 +186,7 @@ export const projectDALFactory = (db: TDbClient) => {
{ column: `${TableName.Project}.name`, order: "asc" },
{ column: `${TableName.Environment}.position`, order: "asc" }
]);
const project = sqlNestRelationships({
data: projects,
key: "id",