Skip to content
Snippets Groups Projects
Commit 3c40954c authored by Guillaume Samson's avatar Guillaume Samson
Browse files

add-forge-now: Update last_modified_date for email submitter

parent f40be02f
No related branches found
No related tags found
No related merge requests found
Pipeline #13434 failed
......@@ -64,12 +64,13 @@ def handle_inbound_message(sender: Type, **kwargs) -> EmailProcessingStatus:
RequestStatus.WAITING_FOR_FEEDBACK: RequestStatus.FEEDBACK_TO_HANDLE,
}.get(RequestStatus[request.status])
request.last_modified_date = history_entry.date
if new_status:
request.status = history_entry.new_status = new_status.name
history_entry.save()
# history_entry must be saved to have hisotry.date set
request.last_modified_date = history_entry.date
request.save()
return EmailProcessingStatus.PROCESSED
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment