Prepare for collection board type, refactoring, update dependencies

This commit is contained in:
Maksim Eltyshev
2020-08-04 01:32:46 +05:00
parent 402645bc99
commit 30ed77af59
190 changed files with 2144 additions and 1817 deletions
+3 -3
View File
@@ -17,11 +17,11 @@ import {
} from '../../../actions';
import api from '../../../api';
export function* createCardRequest(listId, localId, data) {
export function* createCardRequest(boardId, localId, data) {
yield put(
createCardRequested(localId, {
...data,
listId,
boardId,
}),
);
@@ -29,7 +29,7 @@ export function* createCardRequest(listId, localId, data) {
const {
item,
included: { cardMemberships, cardLabels, tasks, attachments },
} = yield call(request, api.createCard, listId, data);
} = yield call(request, api.createCard, boardId, data);
const action = createCardSucceeded(
localId,