mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-22 16:23:50 +02:00
refactor: Introduce granular query types with specific policies for improved caching and data freshness.
This commit is contained in:
@@ -59,7 +59,7 @@ async function getGroupName(data) {
|
||||
}
|
||||
}
|
||||
try {
|
||||
const args = await queryRequest.fetch('group', {
|
||||
const args = await queryRequest.fetch('group.dialog', {
|
||||
groupId
|
||||
});
|
||||
groupName = args.ref.name;
|
||||
|
||||
@@ -13,7 +13,7 @@ async function getWorldName(location) {
|
||||
const L = parseLocation(location);
|
||||
if (L.isRealInstance && L.worldId) {
|
||||
try {
|
||||
const args = await queryRequest.fetch('world', {
|
||||
const args = await queryRequest.fetch('world.dialog', {
|
||||
worldId: L.worldId
|
||||
});
|
||||
worldName = args.ref.name;
|
||||
|
||||
Reference in New Issue
Block a user