diff --git a/client/src/modules/Admin/Components/Admin.tsx b/client/src/modules/Admin/Components/Admin.tsx index aae3a641..8213e610 100644 --- a/client/src/modules/Admin/Components/Admin.tsx +++ b/client/src/modules/Admin/Components/Admin.tsx @@ -64,7 +64,7 @@ export const Admin = () => { */ useEffect(() => { async function loadReviews() { - const pending = await axios.post('/api/admin/reviews/get/pending', { + const pending = await axios.post('/api/admin/reviews/get-pending', { token: token, }) if (pending.status === 200) {