feat: rename some occurrences of guild back to server
This commit is contained in:
parent
4eeb3a8c2a
commit
aa710e0a4d
6 changed files with 14 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
|||
import type { UserResponse } from "~/types/interfaces"
|
||||
|
||||
export default async (guildId: string, memberId: string): Promise<UserResponse> => {
|
||||
const user = await fetchWithApi(`/guilds/${guildId}/members/${memberId}`) as UserResponse;
|
||||
export default async (serverId: string, memberId: string): Promise<UserResponse> => {
|
||||
const user = await fetchWithApi(`/guilds/${serverId}/members/${memberId}`) as UserResponse;
|
||||
return user;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import type { UserResponse } from "~/types/interfaces"
|
||||
|
||||
export default async (guildId: string, userId: string): Promise<UserResponse> => {
|
||||
export default async (serverId: string, userId: string): Promise<UserResponse> => {
|
||||
const user = await fetchWithApi(`/users/${userId}`) as UserResponse;
|
||||
return user;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue