mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
removed old logging
This commit is contained in:
@@ -48,7 +48,6 @@ export async function hasOverlappingSprints(
|
|||||||
];
|
];
|
||||||
|
|
||||||
if (excludeSprintId !== undefined) {
|
if (excludeSprintId !== undefined) {
|
||||||
console.log("Excluding sprint ID:", excludeSprintId);
|
|
||||||
conditions.push(ne(Sprint.id, excludeSprintId));
|
conditions.push(ne(Sprint.id, excludeSprintId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -58,7 +57,6 @@ export async function hasOverlappingSprints(
|
|||||||
.where(and(...conditions))
|
.where(and(...conditions))
|
||||||
.limit(1);
|
.limit(1);
|
||||||
|
|
||||||
console.log(overlapping);
|
|
||||||
return overlapping.length > 0;
|
return overlapping.length > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user