From bf24dc910350d9b3dcb188cf19d013adb2eab105 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 9 Jul 2025 16:11:37 -0400 Subject: [PATCH] feat: Refactor duplicate handling in InterestDuplicateNotificationBanner and update merge API for better access control --- .../InterestDuplicateNotificationBanner.vue | 7 +- pages/dashboard.vue | 2 +- pages/dashboard/admin/duplicates.vue | 47 +++-- server/api/interests/duplicates/merge.ts | 189 ++++++++++++++++++ 4 files changed, 223 insertions(+), 22 deletions(-) create mode 100644 server/api/interests/duplicates/merge.ts diff --git a/components/InterestDuplicateNotificationBanner.vue b/components/InterestDuplicateNotificationBanner.vue index 3f60523..82d64e0 100644 --- a/components/InterestDuplicateNotificationBanner.vue +++ b/components/InterestDuplicateNotificationBanner.vue @@ -1,6 +1,6 @@