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:
IGNY8 VPS (Salman)
2025-11-18 19:10:23 +00:00
parent c378e503d8
commit 49ac8f10c1
4 changed files with 67 additions and 36 deletions

View File

@@ -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)),