xxx(build): Temporary fix for build

This commit is contained in:
まっちゃとーにゅ 2024-01-07 14:21:19 +09:00
parent 73ee6b455a
commit 6aa3863ce7
No known key found for this signature in database
GPG Key ID: 6AFBBF529601C1DB
1 changed files with 2 additions and 3 deletions

View File

@ -111,7 +111,6 @@ import MkNumber from '@/components/MkNumber.vue';
import MkPlusOneEffect from '@/components/MkPlusOneEffect.vue'; import MkPlusOneEffect from '@/components/MkPlusOneEffect.vue';
import MkButton from '@/components/MkButton.vue'; import MkButton from '@/components/MkButton.vue';
import { defaultStore } from '@/store.js'; import { defaultStore } from '@/store.js';
import { misskeyApi } from '@/scripts/misskey-api.js';
import { i18n } from '@/i18n.js'; import { i18n } from '@/i18n.js';
import { useInterval } from '@/scripts/use-interval.js'; import { useInterval } from '@/scripts/use-interval.js';
import MkSelect from '@/components/MkSelect.vue'; import MkSelect from '@/components/MkSelect.vue';
@ -760,7 +759,7 @@ function attachGame() {
if (score.value > (highScore.value ?? 0)) { if (score.value > (highScore.value ?? 0)) {
highScore.value = score.value; highScore.value = score.value;
misskeyApi('i/registry/set', { os.api('i/registry/set', {
scope: ['dropAndFusionGame'], scope: ['dropAndFusionGame'],
key: 'highScore:' + gameMode.value, key: 'highScore:' + gameMode.value,
value: highScore.value, value: highScore.value,
@ -771,7 +770,7 @@ function attachGame() {
async function start() { async function start() {
try { try {
highScore.value = await misskeyApi('i/registry/get', { highScore.value = await os.api('i/registry/get', {
scope: ['dropAndFusionGame'], scope: ['dropAndFusionGame'],
key: 'highScore:' + gameMode.value, key: 'highScore:' + gameMode.value,
}); });