Skip to content

Commit 01b55eb

Browse files
author
Robin Van de Merghel
committed
fix: Fixed possible bad behaviour
1 parent 71c3614 commit 01b55eb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • diracx-logic/src/diracx/logic/pilots

diracx-logic/src/diracx/logic/pilots/query.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ async def search(
5151
async def get_pilots_by_stamp_bulk(
5252
pilot_db: PilotAgentsDB, pilot_stamps: list[str], parameters: list[str] = []
5353
) -> list[dict[Any, Any]]:
54+
if parameters:
55+
parameters.append("PilotStamp")
56+
5457
_, pilots = await pilot_db.search_pilots(
5558
parameters=parameters,
5659
search=[

0 commit comments

Comments
 (0)