mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-23 07:14:21 +00:00
🐛 Add missing slash in /api/core/instance/
endpoint
This commit is contained in:
parent
4531dc5e09
commit
3914c8861d
1 changed files with 2 additions and 3 deletions
|
@ -1,9 +1,8 @@
|
|||
from django.urls import path, include
|
||||
import rest_framework.routers
|
||||
from django.urls import path, include
|
||||
|
||||
from . import views
|
||||
|
||||
|
||||
router = rest_framework.routers.DefaultRouter()
|
||||
router.register("groups", views.ResearchGroupViewSet, basename="research-group")
|
||||
router.register("users", views.UserViewSet, basename="user")
|
||||
|
@ -11,5 +10,5 @@ router.register("users", views.UserViewSet, basename="user")
|
|||
|
||||
urlpatterns = [
|
||||
path("", include(router.urls)),
|
||||
path("instance", views.SophonInstanceDetailsView.as_view()),
|
||||
path("instance/", views.SophonInstanceDetailsView.as_view()),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue