feat:add exist project by state

This commit is contained in:
shahzeydyfah
2024-09-21 13:32:20 +03:30
parent 6202264823
commit bf5f1598f2
+1 -1
View File
@@ -49,7 +49,7 @@ class ReportRepository():
report = await use_collection(TaskEnv.CLN_PROJECT).aggregate([
{
'$group': {
'_id': f"design.state",
'_id': "$design.state",
'count': {'$sum': 1}
}
}