diff --git a/app/main/views/send.py b/app/main/views/send.py index 3d8bcd512..bb63f10a9 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -991,7 +991,6 @@ def send_notification(service_id, template_id): valid="True", ) - session.pop("recipient") session.pop("placeholders") @@ -1023,8 +1022,12 @@ def send_notification(service_id, template_id): job_id=upload_id, ) ) - total = notifications['total'] - current_app.logger.info(hilite(f"job_id: {upload_id} has notifications: {total} and attempts: {attempts}")) + total = notifications["total"] + current_app.logger.info( + hilite( + f"job_id: {upload_id} has notifications: {total} and attempts: {attempts}" + ) + ) return redirect( url_for( ".view_job",