feat: change /servers endpoints to /guilds to reflect changes in PR #19
This commit is contained in:
parent
a92c74edc9
commit
9f3059f94c
3 changed files with 6 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
import type { UserResponse } from "~/types/interfaces"
|
||||
|
||||
export default async (serverId: string, memberId: string): Promise<UserResponse> => {
|
||||
const user = await fetchWithApi(`/servers/${serverId}/members/${memberId}`) as UserResponse;
|
||||
const user = await fetchWithApi(`/guilds/${serverId}/members/${memberId}`) as UserResponse;
|
||||
return user;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue