From 516bb1d99034b73c492753c97c2bd6cca3180d95 Mon Sep 17 00:00:00 2001 From: amy Date: Wed, 22 Jan 2025 13:24:22 +0330 Subject: [PATCH] new api !!!! --- src/components/api.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/api.tsx b/src/components/api.tsx index 8b42153..6770e52 100644 --- a/src/components/api.tsx +++ b/src/components/api.tsx @@ -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 => - 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");