Commit 02198869 authored by NataliaTepluhina's avatar NataliaTepluhina

Fixed mutation await

parent 377047f6
......@@ -192,7 +192,7 @@ export default {
async createBoard() {
// TODO: change this to use `createBoard` mutation https://gitlab.com/gitlab-org/gitlab/-/issues/292466 is resolved
const boardData = await getBoardsPath(this.endpoints.boardsEndpoint, this.boardPayload);
await this.callBoardMutation(fullBoardId(boardData.data.id));
this.callBoardMutation(fullBoardId(boardData.data.id));
return boardData.data || boardData;
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment