Skip to content

Commit d50e34c

Browse files
fix: Fixed possible bad behaviour
1 parent b34f865 commit d50e34c

File tree

1 file changed

+3
-0
lines changed
  • diracx-logic/src/diracx/logic/pilots

1 file changed

+3
-0
lines changed

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)