From 71719c84ad585bf781ecb16972e4d98036ec0617 Mon Sep 17 00:00:00 2001
From: Josh Everett <44347292+MrJoshE@users.noreply.github.com>
Date: Thu, 20 Apr 2023 16:58:40 +0100
Subject: [PATCH] changed header for delete notification

---
 src/pages/notifications/notifications.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pages/notifications/notifications.js b/src/pages/notifications/notifications.js
index d57ddc1..bfa666a 100644
--- a/src/pages/notifications/notifications.js
+++ b/src/pages/notifications/notifications.js
@@ -46,8 +46,8 @@ const NotificationsPage = () => {
   const deleteNotification = async (notificationId) => {
     try {
       const response = await fetch(`${baseUrl}/notification/delete/${notificationId}`, {
+        method: 'DELETE',
         headers: {
-          method: 'DELETE',
           Authorization: `Bearer ${localStorage.getItem("token")}`,
         },
       });
-- 
GitLab