feat: добавление deadline и assigned_users для вызова в логике BoardLogic.js
This commit is contained in:
@@ -4,9 +4,9 @@ export const loadBoardDataAPI = async (boardId) => {
|
||||
return axios.post('/api/boards/load', {id: boardId});
|
||||
};
|
||||
|
||||
export const createTaskAPI = async (taskCateg, taskTitle, taskDescription) => {
|
||||
export const createTaskAPI = async (taskCateg, taskTitle, taskDescription, taskDedline, memberId) => {
|
||||
return axios.post('/api/boards/categories/tasks/create', {
|
||||
category_id: taskCateg, title: taskTitle, description: taskDescription
|
||||
category_id: taskCateg, title: taskTitle, description: taskDescription, deadline: taskDedline, assigned_users: memberId
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user