Fix timestamp method and loop variable order issues

Updated `datetime.utcnow()` to `datetime.now()` to align with local timezone handling. Corrected the order of unpacked variables in the loop to match the structure of `pucks_with_latest_events`.
This commit is contained in:
GotthardG 2025-01-31 14:57:06 +01:00
parent 7ce8c50179
commit b63f696543

View File

@ -258,6 +258,7 @@ async def get_pucks_with_tell_position(db: Session = Depends(get_db)):
Sample(
id=sample.id,
sample_name=sample.sample_name,
mount_count=sample.mount_count,
position=sample.position,
puck_id=sample.puck_id,
data_collection_parameters=(