Skip to content

Commit

Permalink
fix: use creation data on detect socket endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasNeugebauer committed Jan 6, 2025
1 parent b509b11 commit 76f5d28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion learning_loop_node/detector/detector_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ async def detect(sid, data: Dict) -> Dict:
camera_id=data.get('camera-id', None) or data.get('mac', None),
tags=data.get('tags', []),
source=data.get('source', None),
autoupload=data.get('autoupload', None)
autoupload=data.get('autoupload', None),
creation_date=data.get('creation_date', None)
)
if det is None:
return {'error': 'no model loaded'}
Expand Down

0 comments on commit 76f5d28

Please sign in to comment.