Refactor CreditBalanceViewSet for improved error handling and account retrieval. Update PublisherViewSet registration to root level for cleaner URL structure. Adjust siteBuilder.api.ts to reflect new endpoint for deploying blueprints.
This commit is contained in:
@@ -14,7 +14,8 @@ from igny8_core.modules.publisher.views import (
|
||||
router = DefaultRouter()
|
||||
router.register(r'publishing-records', PublishingRecordViewSet, basename='publishing-record')
|
||||
router.register(r'deployments', DeploymentRecordViewSet, basename='deployment')
|
||||
router.register(r'publisher', PublisherViewSet, basename='publisher')
|
||||
# Register PublisherViewSet with empty prefix so actions are at root level
|
||||
router.register(r'', PublisherViewSet, basename='publisher')
|
||||
|
||||
urlpatterns = [
|
||||
path('', include(router.urls)),
|
||||
|
||||
Reference in New Issue
Block a user