|
|
|
|
@ -11,8 +11,10 @@ const createBoard = (projectId, data, headers) =>
|
|
|
|
|
const createBoardWithImport = (projectId, data, requestId, headers) =>
|
|
|
|
|
http.post(`/projects/${projectId}/boards?requestId=${requestId}`, data, headers);
|
|
|
|
|
|
|
|
|
|
const getBoard = (id, headers) =>
|
|
|
|
|
socket.get(`/boards/${id}`, undefined, headers).then((body) => ({
|
|
|
|
|
const getBoard = (id, subscribe, headers) =>
|
|
|
|
|
socket
|
|
|
|
|
.get(`/boards/${id}${subscribe ? '?subscribe=true' : ''}`, undefined, headers)
|
|
|
|
|
.then((body) => ({
|
|
|
|
|
...body,
|
|
|
|
|
included: {
|
|
|
|
|
...body.included,
|
|
|
|
|
|