Skip to content
Snippets Groups Projects

reset delivery if new checkin

1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -109,6 +109,7 @@ def receive_item_with_image(db: Session, item: schemas.ItemCreateByImageAtStorag
def receive_item(db: Session, item: schemas.Item, storage: schemas.Storage):
item.received_at = datetime.now()
item.deployed_at = None
item.storage = storage.name
db.commit()
db.refresh(item)
Loading