api: always use event id in advertised fillslot URL (#40648)
This commit is contained in:
parent
3e47c5d63f
commit
a9cedd9018
|
@ -236,19 +236,13 @@ class Datetimes(APIView):
|
|||
'fillslot_url': request.build_absolute_uri(
|
||||
reverse(
|
||||
'api-fillslot',
|
||||
kwargs={
|
||||
'agenda_identifier': agenda.slug,
|
||||
'event_identifier': x.slug or x.id,
|
||||
},
|
||||
kwargs={'agenda_identifier': agenda.slug, 'event_identifier': x.id,},
|
||||
)
|
||||
),
|
||||
'status_url': request.build_absolute_uri(
|
||||
reverse(
|
||||
'api-event-status',
|
||||
kwargs={
|
||||
'agenda_identifier': agenda.slug,
|
||||
'event_identifier': x.slug or x.id,
|
||||
},
|
||||
kwargs={'agenda_identifier': agenda.slug, 'event_identifier': x.id,},
|
||||
)
|
||||
),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue