Skip to content

Commit

Permalink
fixed an endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
qiandrewj committed Dec 11, 2024
1 parent f46586b commit bab6285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/modules/Admin/Components/Admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const Admin = () => {
* Call when admin would like to mass-approve all of the currently pending reviews.
*/
const approveAllReviews = async () => {
const response = await axios.post('/api/admin/reviews/approve/all', {
const response = await axios.post('/api/admin/reviews/approve-all', {
token: token
});
if (response.status === 200) {
Expand Down

0 comments on commit bab6285

Please sign in to comment.