notification system implemented

need refinements
This commit is contained in:
dimitar committed 2026-03-11 06:07:16 +01:00
1 parent 612259f020
commit 1143f8ca02
33 files changed
+2221 -222

No files matched your search

@@ -83,7 +83,10 @@ export function Recommendations({ userId }: RecommendationsProps) {
const response = await fetch("/api/recommendations/approve", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ recommendationId }),
body: JSON.stringify({
recommendationId,
status: "approved",
}),
});
if (response.ok) {