refactor queryRequest

This commit is contained in:
pa
2026-03-09 21:28:45 +09:00
parent c1a35223d4
commit 58b9bdc1c5
60 changed files with 1134 additions and 883 deletions

View File

@@ -6,7 +6,7 @@ import {
miscRequest,
notificationRequest,
playerModerationRequest,
worldRequest
queryRequest
} from '../../../api';
import { copyToClipboard, parseLocation } from '../../../shared/utils';
import { database } from '../../../service/database';
@@ -259,8 +259,8 @@ export function useUserDialogCommands(
},
'Invite Message': () => {
const L = parseLocation(lastLocation.value.location);
worldRequest
.getCachedWorld({
queryRequest
.fetch('world', {
worldId: L.worldId
})
.then((args) => {
@@ -288,8 +288,8 @@ export function useUserDialogCommands(
currentLocation = lastLocationDestination.value;
}
const L = parseLocation(currentLocation);
worldRequest
.getCachedWorld({
queryRequest
.fetch('world', {
worldId: L.worldId
})
.then((args) => {