Skip to content

Commit

Permalink
patial DB update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Mar 13, 2024
1 parent f0a82be commit 80f3d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/subprocesses/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def update_status_flag(key: str, flag: bool, test: bool = False) -> bool:
workflow = collection.find_one({"_id": key})
if workflow:
updated_workflow = collection.update_one(
{"_id": key}, {"$set": {"response.stale": flag}}
{"_id": key}, {"$set": {"stale": flag}}
)
if updated_workflow:
return True
Expand Down

0 comments on commit 80f3d4c

Please sign in to comment.