Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b956a9a1 authored by EL HASSANE GARGEM's avatar EL HASSANE GARGEM
Browse files

rename onboarding endpoint

parent 368a9122
No related branches found
No related tags found
1 merge request!46Onboarding
...@@ -14,7 +14,7 @@ from api.views import (DocumentViewSet, ...@@ -14,7 +14,7 @@ from api.views import (DocumentViewSet,
router = routers.DefaultRouter() router = routers.DefaultRouter()
router.register(r'documents', DocumentViewSet) 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/block', BlockTypeViewSet)
router.register(r'types/line', LineTypeViewSet) router.register(r'types/line', LineTypeViewSet)
documents_router = routers.NestedSimpleRouter(router, r'documents', lookup='document') documents_router = routers.NestedSimpleRouter(router, r'documents', lookup='document')
......
...@@ -133,7 +133,7 @@ function exitonboarding() { ...@@ -133,7 +133,7 @@ function exitonboarding() {
$.ajax({ $.ajax({
type: 'PUT', type: 'PUT',
url: '/api/users/onboarding/', url: '/api/user/onboarding/',
contentType: "application/json; charset=utf-8", contentType: "application/json; charset=utf-8",
data: JSON.stringify({ data: JSON.stringify({
onboarding: "False", onboarding: "False",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment