feat: change all occurrences of server with guild

This commit is contained in:
SauceyRed 2025-05-31 14:27:37 +02:00
parent 57f31d487e
commit fe1474416f
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7
5 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
import type { UserResponse } from "~/types/interfaces"
export default async (serverId: string, memberId: string): Promise<UserResponse> => {
const user = await fetchWithApi(`/guilds/${serverId}/members/${memberId}`) as UserResponse;
export default async (guildId: string, memberId: string): Promise<UserResponse> => {
const user = await fetchWithApi(`/guilds/${guildId}/members/${memberId}`) as UserResponse;
return user;
}

View file

@ -1,6 +1,6 @@
import type { UserResponse } from "~/types/interfaces"
export default async (serverId: string, userId: string): Promise<UserResponse> => {
export default async (guildId: string, userId: string): Promise<UserResponse> => {
const user = await fetchWithApi(`/users/${userId}`) as UserResponse;
return user;
}