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:
parent
7ce8c50179
commit
b63f696543
@ -258,6 +258,7 @@ async def get_pucks_with_tell_position(db: Session = Depends(get_db)):
|
|||||||
Sample(
|
Sample(
|
||||||
id=sample.id,
|
id=sample.id,
|
||||||
sample_name=sample.sample_name,
|
sample_name=sample.sample_name,
|
||||||
|
mount_count=sample.mount_count,
|
||||||
position=sample.position,
|
position=sample.position,
|
||||||
puck_id=sample.puck_id,
|
puck_id=sample.puck_id,
|
||||||
data_collection_parameters=(
|
data_collection_parameters=(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user