From 6aa3863ce7b85fa4ca287921548ca78318c4988d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Sun, 7 Jan 2024 14:21:19 +0900 Subject: [PATCH] xxx(build): Temporary fix for build --- packages/frontend/src/pages/drop-and-fusion.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/pages/drop-and-fusion.vue b/packages/frontend/src/pages/drop-and-fusion.vue index 5a1a1de2d5..7ca40b7914 100644 --- a/packages/frontend/src/pages/drop-and-fusion.vue +++ b/packages/frontend/src/pages/drop-and-fusion.vue @@ -111,7 +111,6 @@ import MkNumber from '@/components/MkNumber.vue'; import MkPlusOneEffect from '@/components/MkPlusOneEffect.vue'; import MkButton from '@/components/MkButton.vue'; import { defaultStore } from '@/store.js'; -import { misskeyApi } from '@/scripts/misskey-api.js'; import { i18n } from '@/i18n.js'; import { useInterval } from '@/scripts/use-interval.js'; import MkSelect from '@/components/MkSelect.vue'; @@ -760,7 +759,7 @@ function attachGame() { if (score.value > (highScore.value ?? 0)) { highScore.value = score.value; - misskeyApi('i/registry/set', { + os.api('i/registry/set', { scope: ['dropAndFusionGame'], key: 'highScore:' + gameMode.value, value: highScore.value, @@ -771,7 +770,7 @@ function attachGame() { async function start() { try { - highScore.value = await misskeyApi('i/registry/get', { + highScore.value = await os.api('i/registry/get', { scope: ['dropAndFusionGame'], key: 'highScore:' + gameMode.value, });