fix: Wave 1 — critical bug fixes across 9 files
All checks were successful
Test Asgard Runner / test (push) Successful in 3s
All checks were successful
Test Asgard Runner / test (push) Successful in 3s
- Fix double-prefix URL bugs in 4 analytics/revenue views (/api/api → /api) - Fix AdminDashboard quick-links routing (/platform-admin/* → /admin/*) - Fix MigrationView import missing Authorization header - Remove dead ConsoleModule from app.module (conflicts with NatsBridgeGateway on /ws) - Fix store.service.ts raw Error throws → NotFoundException/ForbiddenException - Fix payment-order entity FK (webstore_subscription_id → WebstoreSubscription) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted } from 'vue'
|
||||
import { useApi } from '@/composables/useApi'
|
||||
import { useAuthStore } from '@/stores/auth'
|
||||
import { Download, Upload, FileText, Loader2 } from 'lucide-vue-next'
|
||||
import { safeFileSize, safeDate } from '@/utils/formatters'
|
||||
|
||||
@@ -13,6 +14,7 @@ interface ExportRecord {
|
||||
}
|
||||
|
||||
const api = useApi()
|
||||
const authStore = useAuthStore()
|
||||
const exports = ref<ExportRecord[]>([])
|
||||
const isExporting = ref(false)
|
||||
const isImporting = ref(false)
|
||||
@@ -53,6 +55,7 @@ async function importData() {
|
||||
|
||||
const response = await fetch('/api/migration/import', {
|
||||
method: 'POST',
|
||||
headers: { 'Authorization': 'Bearer ' + authStore.accessToken },
|
||||
body: formData,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user