Skip to content

Commit

Permalink
fixed update to merge
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyalpandit committed Mar 22, 2023
1 parent e38957c commit 64e3fd0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/app/events/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def update_continuous_journal_event(
organisation_id,
email_from,
url,
event_type,
travel_grant,
miniconf_url=None):
return event.update(
Expand All @@ -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
)
Expand Down Expand Up @@ -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']
)
Expand All @@ -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()
Expand Down

0 comments on commit 64e3fd0

Please sign in to comment.