Skip to content

Commit

Permalink
total fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ko71k committed Dec 16, 2024
1 parent 1be1edf commit 695179e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions public/src/components/EventContentPage/EventContentPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ export class EventContentPage {
invitationItem.addEventListener('click', async () => {
const eventId = window.location.pathname.split('/').pop(); // Получаем ID события из URL
const userId = invitation.id;
console.log(userId);

const requestBody = {
event_id: +eventId,
Expand All @@ -390,7 +389,6 @@ export class EventContentPage {
credentials: 'include',
body: JSON.stringify(requestBody),
};
console.log(requestBody);
try {
const response = await api.post('/notification', request);
if (response.ok) {
Expand Down
1 change: 0 additions & 1 deletion public/src/components/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ export class Header {
}

data.notifications.forEach(notification => {
console.log(notification);
const notificationItem = document.createElement('div');
notificationItem.className = 'notification-item';
notificationItem.textContent = message;
Expand Down

0 comments on commit 695179e

Please sign in to comment.