♻️ Transformed API keys

This commit is contained in:
2025-09-19 01:26:21 +08:00
parent 60e8b1dcfb
commit 48a9a97e18
9 changed files with 171 additions and 95 deletions

View File

@@ -10,7 +10,7 @@ import type { SnAttachment } from '~/types/api'
const props = defineProps<{ item: SnAttachment }>()
const itemType = computed(() => props.item.mime_type.split('/')[0] ?? 'unknown')
const itemType = computed(() => props.item.mimeType.split('/')[0] ?? 'unknown')
const apiBase = useSolarNetworkUrl();
const remoteSource = computed(() => `${apiBase}/drive/files/${props.item.id}?original=true`)