Make work for demo

This commit is contained in:
Owen
2026-03-29 22:02:19 -07:00
parent b01d266629
commit 6484e8e302
7 changed files with 13 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ export default function PendingSitesTable({
async function approveSite(siteId: number) {
setApprovingIds((prev) => new Set(prev).add(siteId));
try {
await api.post(`/site/${siteId}`, { status: "accepted" });
await api.post(`/site/${siteId}`, { status: "approved" });
toast({
title: t("success"),
description: t("siteApproveSuccess"),