new api !!!!
This commit is contained in:
parent
0fb867d7c5
commit
516bb1d990
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ export default function Reviews() {
|
|||
.then((response) => response.json())
|
||||
.then((data: Review[]) => {
|
||||
const promises = data.map((review) =>
|
||||
fetch(`https://dc-lookup.spiro.exhq.dev/v1/user/${review.discordID}`)
|
||||
fetch(`https://discord-info.api.amy.rip/v1/user/${review.discordID}`)
|
||||
.then((response) => response.json())
|
||||
.then((user) => ({
|
||||
...review,
|
||||
|
|
@ -69,7 +69,7 @@ export default function Reviews() {
|
|||
}
|
||||
|
||||
export const theImager = async (id: string): Promise<string> =>
|
||||
await fetch(`https://dc-lookup.spiro.exhq.dev/v1/user/${id}`)
|
||||
await fetch(`discord-info.api.amy.rip/v1/user/${id}`)
|
||||
.then((res) => res.json())
|
||||
.then((data) => "https://proxy.spiro.exhq.dev/_/plain/" + data.avatar.link)
|
||||
.catch(() => "https://http.cat/status/100");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue