fix: исправлен URL создания чата на корректный REST endpoint /api/v1/communications/chats/ вместо /create/ (ошибка 405)
This commit is contained in:
parent
9ea33128cc
commit
4dae6400d5
@ -530,7 +530,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
const res = await fetch('/api/v1/communications/chats/create/', {
|
||||
const res = await fetch('/api/v1/communications/chats/', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'X-CSRFToken': csrftoken
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user