diff --git a/public/src/components/Header/Header.js b/public/src/components/Header/Header.js index a7c69cb..8afb28d 100644 --- a/public/src/components/Header/Header.js +++ b/public/src/components/Header/Header.js @@ -210,7 +210,7 @@ export class Header { } async loadNotifications(container) { try { - const response = await api.get('/notifications', { + const response = await api.get('/notification', { credentials: 'include' });