Update service with the user that requested to go live.

When a service is marked as live update the service with the go live datetime.
This commit is contained in:
Rebecca Law
2019-04-16 15:01:54 +01:00
parent d3cb5aa796
commit da8eead475
4 changed files with 18 additions and 2 deletions

View File

@@ -247,6 +247,8 @@ def submit_request_to_go_live(service_id):
tags=current_service.request_to_go_live_tags,
)
current_service.update(go_live_user=current_user.id)
flash('Thanks for your request to go live. Well get back to you within one working day.', 'default')
return redirect(url_for('.service_settings', service_id=service_id))