diff --git a/backend/static/js/components/feedComments.js b/backend/static/js/components/feedComments.js
index eb7a0e04..2daf670f 100644
--- a/backend/static/js/components/feedComments.js
+++ b/backend/static/js/components/feedComments.js
@@ -375,7 +375,7 @@
const authorName = commentData.author?.full_name || 'Сотрудник';
const authorId = commentData.author?.id;
const authorLink = authorId
- ? `/employees/employee/${authorId}/`
+ ? `/employees/${authorId}/`
: '#';
const commentDate = formatDate(commentData.created_at);
diff --git a/backend/static/js/components/postDetailModal.js b/backend/static/js/components/postDetailModal.js
index ebf7441a..71ad56d5 100644
--- a/backend/static/js/components/postDetailModal.js
+++ b/backend/static/js/components/postDetailModal.js
@@ -321,7 +321,7 @@
const authorId = getAuthorId(comment.author);
if (authorId) {
- html += ``;
+ html += ``;
} else {
html += ``;
}
diff --git a/backend/static/js/components/postDetailModal.old.js b/backend/static/js/components/postDetailModal.old.js
index 61186fc7..936e89b1 100644
--- a/backend/static/js/components/postDetailModal.old.js
+++ b/backend/static/js/components/postDetailModal.old.js
@@ -202,7 +202,7 @@
const authorId = comment.author?.id;
if (authorId) {
- html += ``;
+ html += ``;
} else {
html += ``;
}
diff --git a/backend/static/js/components/requestCommentsHandler.js b/backend/static/js/components/requestCommentsHandler.js
index 6e3137bf..0b27add0 100644
--- a/backend/static/js/components/requestCommentsHandler.js
+++ b/backend/static/js/components/requestCommentsHandler.js
@@ -39,7 +39,7 @@ export function initRequestCommentsHandler(options) {
(comment.author.full_name || comment.author.display_name || comment.author.username)) || '—';
const authorId = comment.author?.id;
const authorLink = authorId
- ? `/employees/employee/${authorId}/`
+ ? `/employees/${authorId}/`
: '#';
const commentDate = esc(comment.created_at || '');
diff --git a/backend/test_notification_create.py b/backend/test_notification_create.py
index 2cc9b185..45c817a8 100644
--- a/backend/test_notification_create.py
+++ b/backend/test_notification_create.py
@@ -16,7 +16,7 @@ from notifications.services import NotificationService
def main():
"""Создать тестовое уведомление"""
# Получаем первого пользователя
- user = Employee.objects.first()
+ user = Employee.objects.filter(id=1).first()
if not user:
print("❌ Нет пользователей в системе!")