refactor query requests to use queryRequest module

This commit is contained in:
pa
2026-03-09 22:08:18 +09:00
parent 58b9bdc1c5
commit ca57cd6590
12 changed files with 317 additions and 64 deletions
+2 -2
View File
@@ -249,8 +249,8 @@ export const useAvatarStore = defineStore('Avatar', () => {
*/
async function getAvatarGallery(avatarId) {
const D = avatarDialog.value;
const args = await avatarRequest
.getAvatarGallery(avatarId)
const args = await queryRequest
.fetch('avatarGallery', { avatarId })
.finally(() => {
D.galleryLoading = false;
});