Commit b956a9a1 authored by EL HASSANE GARGEM's avatar EL HASSANE GARGEM
Browse files

rename onboarding endpoint

parent 368a9122
......@@ -14,7 +14,7 @@ from api.views import (DocumentViewSet,
router = routers.DefaultRouter()
router.register(r'documents', DocumentViewSet)
router.register(r'users', UserViewSet)
router.register(r'user', UserViewSet)
router.register(r'types/block', BlockTypeViewSet)
router.register(r'types/line', LineTypeViewSet)
documents_router = routers.NestedSimpleRouter(router, r'documents', lookup='document')
......@@ -133,7 +133,7 @@ function exitonboarding() {
type: 'PUT',
url: '/api/users/onboarding/',
url: '/api/user/onboarding/',
contentType: "application/json; charset=utf-8",
data: JSON.stringify({
onboarding: "False",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment