Skip to content

Commit

Permalink
talk.submission.code
Browse files Browse the repository at this point in the history
  • Loading branch information
wslyvh committed Aug 21, 2024
1 parent a4f9f18 commit 3f0ea55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pretalx_webhook/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def on_schedule_release(sender, schedule, user, **kwargs):
'user': str(user),
'schedule': schedule.version,
'changes': {
'new_talks': [talk['submission']['code'] for talk in schedule.changes['new_talks']],
'canceled_talks': [talk['submission']['code'] for talk in schedule.changes['canceled_talks']],
'moved_talks': [talk['submission']['code'] for talk in schedule.changes['moved_talks']],
'new_talks': [talk.submission.code for talk in schedule.changes.get('new_talks', [])],
'canceled_talks': [talk.submission.code for talk in schedule.changes.get('canceled_talks', [])],
'moved_talks': [talk.submission.code for talk in schedule.changes.get('moved_talks', [])],
},
}

Expand Down

0 comments on commit 3f0ea55

Please sign in to comment.