From e47e9b0a116dca351ccd7ac0c04da6f06f8e3b6e Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Tue, 29 Oct 2024 11:25:29 +0800 Subject: [PATCH] fix: Unique basename --- apps/tickets/urls/api_urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tickets/urls/api_urls.py b/apps/tickets/urls/api_urls.py index 88b203d84..6aa5f2eb5 100644 --- a/apps/tickets/urls/api_urls.py +++ b/apps/tickets/urls/api_urls.py @@ -16,8 +16,8 @@ router.register('apply-login-tickets', api.ApplyLoginTicketViewSet, 'apply-login router.register('apply-command-tickets', api.ApplyCommandTicketViewSet, 'apply-command-ticket') router.register('apply-login-asset-tickets', api.ApplyLoginAssetTicketViewSet, 'apply-login-asset-ticket') router.register('ticket-session-relation', api.TicketSessionRelationViewSet, 'ticket-session-relation') -router.register('apply-assets', api.ApplyAssetsViewSet, 'ticket-session-relation') -router.register('apply-nodes', api.ApplyNodesViewSet, 'ticket-session-relation') +router.register('apply-assets', api.ApplyAssetsViewSet, 'apply-assets') +router.register('apply-nodes', api.ApplyNodesViewSet, 'apply-nodes') urlpatterns = [ path('tickets//session/', api.TicketSessionApi.as_view(), name='ticket-session'),