Fix API router with newer version

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-10-21 19:40:19 +02:00
parent 6cdf6331db
commit d24f8cab16
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

View File

@ -10,4 +10,4 @@ def register_registration_urls(router, path):
"""
router.register(path + "/payment", PaymentViewSet)
router.register(path + "/registration", RegistrationViewSet)
router.register(path + "/volunteers", VolunteersViewSet)
router.register(path + "/volunteers", VolunteersViewSet, basename="volunteers")