From 297651523f9b3510dc44816dd19cc3934354287c Mon Sep 17 00:00:00 2001 From: emile Date: Mon, 16 Sep 2024 13:24:14 +0300 Subject: [PATCH] new --- osinaweb/osichat/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osinaweb/osichat/api/views.py b/osinaweb/osichat/api/views.py index 81f11105..5466cb7c 100644 --- a/osinaweb/osichat/api/views.py +++ b/osinaweb/osichat/api/views.py @@ -64,7 +64,7 @@ def get_staffs(request): staffs_data = [] for staff in staffs: staff_data = { - "id": staff.id, + "id": staff.user.id, "first_name": staff.user.first_name, "last_name": staff.user.last_name, "image": staff.image.url,