feat(migration): frontend migration submissions -> opus-magnum

This commit is contained in:
2026-05-24 18:54:14 +02:00
parent b437210eb3
commit a5fe8aacaf
11 changed files with 87 additions and 87 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { defineStore } from 'pinia'
import { ref, computed } from 'vue'
import { submissionsApiListPuzzles } from '@/api'
import { opusMagnumApiListPuzzles } from '@/api'
import type { SteamCollectionItem } from '@/types'
export const usePuzzlesStore = defineStore('puzzles', () => {
@@ -38,7 +38,7 @@ export const usePuzzlesStore = defineStore('puzzles', () => {
isLoading.value = true
error.value = ''
const response = await submissionsApiListPuzzles()
const response = await opusMagnumApiListPuzzles()
if (response.error) {
error.value = String(response.error)
console.error('Failed to load puzzles:', response.error)