From 64e3fd00e9c6041dffd2f77681bf82411bbb5598 Mon Sep 17 00:00:00 2001 From: Shreya Pandit Date: Wed, 22 Mar 2023 23:26:29 +0200 Subject: [PATCH] fixed update to merge --- api/app/events/api.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/app/events/api.py b/api/app/events/api.py index 0ba6a7a54..7fc3c281d 100644 --- a/api/app/events/api.py +++ b/api/app/events/api.py @@ -204,6 +204,7 @@ def update_continuous_journal_event( organisation_id, email_from, url, + event_type, travel_grant, miniconf_url=None): return event.update( @@ -225,6 +226,7 @@ def update_continuous_journal_event( offer_close=None, registration_open=None, registration_close=None, + event_type=event_type, travel_grant=travel_grant, miniconf_url=miniconf_url ) @@ -359,6 +361,7 @@ def put(self): args['organisation_id'], args['email_from'], args['url'], + EventType[args['event_type'].upper()], args['travel_grant'], args['miniconf_url'] ) @@ -383,7 +386,7 @@ def put(self): args['registration_open'], args['registration_close'], EventType[args['event_type'].upper()], - args['travel_grant'], + args['travel_grant'], args['miniconf_url'] ) db.session.commit()