mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 14:54:22 +00:00
🐛 Add missing slash in /api/core/instance/
endpoint
This commit is contained in:
parent
89bf6c027c
commit
a91211e782
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