👽 Update the service IDs

This commit is contained in:
2025-11-09 14:13:02 +08:00
parent 8f6c5b01c6
commit 0a3e4b75fd
9 changed files with 16 additions and 16 deletions

View File

@@ -97,7 +97,7 @@ const api = useSolarNetwork()
async function fetchSpell() {
try {
const resp = await api(`/id/spells/${encodeURIComponent(spellWord)}`)
const resp = await api(`/pass/spells/${encodeURIComponent(spellWord)}`)
spell.value = resp
} catch (err: unknown) {
error.value = err instanceof Error ? err.message : String(err)
@@ -107,7 +107,7 @@ async function fetchSpell() {
async function applySpell() {
submitting.value = true
try {
await api(`/id/spells/${encodeURIComponent(spellWord)}/apply`, {
await api(`/pass/spells/${encodeURIComponent(spellWord)}/apply`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: newPassword.value