Browse Source

[Update] 修改校验join session的url-name

pull/3864/head
Bai 5 years ago
parent
commit
f5a7c4131d
  1. 2
      apps/terminal/urls/api_urls.py

2
apps/terminal/urls/api_urls.py

@ -22,7 +22,7 @@ router.register(r'replay-storages', api.ReplayStorageViewSet, 'replay-storage')
router.register(r'command-storages', api.CommandStorageViewSet, 'command-storage')
urlpatterns = [
path('sessions/join/validate/', api.SessionJoinValidateAPI.as_view(), name='join-session'),
path('sessions/join/validate/', api.SessionJoinValidateAPI.as_view(), name='join-session-validate'),
path('sessions/<uuid:pk>/replay/',
api.SessionReplayViewSet.as_view({'get': 'retrieve', 'post': 'create'}),
name='session-replay'),

Loading…
Cancel
Save