feat: update members fetching to handle endpoint pagination update
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
ci/woodpecker/pull_request_closed/build-and-publish Pipeline was successful

This commit is contained in:
SauceyRed 2025-08-05 03:28:46 +02:00
parent b1cf9df199
commit 8e3f7212a5
Signed by: sauceyred
GPG key ID: 270B096EF6E9A462
3 changed files with 20 additions and 3 deletions

View file

@ -77,7 +77,10 @@ onActivated(async () => {
});
async function setArrayVariables() {
const membersRes = await fetchMembers(route.params.serverId as string);
members.value = membersRes.objects;
members.value = await fetchMembers(route.params.serverId as string);
console.log("Placeholder count:", totalMemberCount.value);
const guildUrl = `guilds/${route.params.serverId}`;
channels.value = await fetchWithApi(`${guildUrl}/channels`);
console.log("channels:", channels.value);