mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 14:26:06 +02:00
refactor: Introduce granular query types with specific policies for improved caching and data freshness.
This commit is contained in:
@@ -363,7 +363,7 @@ export const useGalleryStore = defineStore('Gallery', () => {
|
||||
const print = args.json;
|
||||
const createdAt = getPrintLocalDate(print);
|
||||
try {
|
||||
const owner = await queryRequest.fetch('user', {
|
||||
const owner = await queryRequest.fetch('user.dialog', {
|
||||
userId: print.ownerId
|
||||
});
|
||||
console.log(
|
||||
@@ -558,7 +558,7 @@ export const useGalleryStore = defineStore('Gallery', () => {
|
||||
return;
|
||||
}
|
||||
|
||||
const userArgs = await queryRequest.fetch('user', {
|
||||
const userArgs = await queryRequest.fetch('user.dialog', {
|
||||
userId: args.json.holderId
|
||||
});
|
||||
const displayName = userArgs.json?.displayName ?? '';
|
||||
|
||||
Reference in New Issue
Block a user