File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
time_tracker_api/projects Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 88from time_tracker_api .database import CRUDDao , APICosmosDBDao
99from typing import List , Callable
1010from commons .data_access_layer .database import EventContext
11- from utils .repository import create_sql_in_condition
1211from time_tracker_api .customers .customers_model import (
1312 create_dao as customers_create_dao ,
1413)
1514from time_tracker_api .customers .customers_model import CustomerCosmosDBModel
1615from utils .query_builder import CosmosDBQueryBuilder
1716from utils .extend_model import add_customer_name_to_projects
17+ from utils .repository import create_sql_in_condition
1818
1919
2020class ProjectDao (CRUDDao ):
@@ -70,13 +70,13 @@ def find_all_v2(
7070 self ,
7171 event_context : EventContext ,
7272 ids_list : List [str ],
73- customers_ids_list : List [str ] = None ,
73+ customers_ids : List [str ] = None ,
7474 visible_only = True ,
7575 mapper : Callable = None ,
7676 ):
7777 query_builder = (CosmosDBQueryBuilder ()
7878 .add_sql_in_condition ("id" ,ids_list )
79- .add_sql_in_condition ("customer_id" ,customers_ids_list )
79+ .add_sql_in_condition ("customer_id" ,customers_ids )
8080 .add_sql_visibility_condition (visible_only )
8181 .build ()
8282 )
You can’t perform that action at this time.
0 commit comments