Skip to content

Commit

Permalink
rollout
Browse files Browse the repository at this point in the history
  • Loading branch information
rv0lt committed Oct 19, 2023
1 parent 470b3a1 commit 29d8eda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dds_web/api/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def patch(self):
raise DDSArgumentError(message="`confirmed` is a boolean value: True or False.")
if not confirmed_operation:
warning_message = "Operation must be confirmed before proceding."
# When not confirmed, return information about the project
project_info = ProjectInfo().get()
project_status = self.get()
json_returned = {
Expand All @@ -228,10 +229,10 @@ def patch(self):
)
)

self.set_busy(project=project, busy=True)

# Extend deadline
try:
self.set_busy(project=project, busy=True)

new_deadline_in = json_input.get(
"new_deadline_in", None
) # if not provided --> is None -> deadline is not updated
Expand Down

0 comments on commit 29d8eda

Please sign in to comment.