Fix lint errors

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr
2022-12-27 14:17:27 +01:00
committed by Julius Härtl
parent 5eed353d5a
commit d25c7feb13
10 changed files with 10 additions and 11 deletions

View File

@@ -178,7 +178,6 @@ class BoardController extends ApiController {
* @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException
*/
public function export($boardId) {
return $this->boardService->export($boardId);
}
}

View File

@@ -38,7 +38,7 @@ export class BoardApi {
* Updates a board.
*
* @param {Board} board the board object to update
* @returns {Promise}
* @return {Promise}
*/
updateBoard(board) {
return axios.put(this.url(`/boards/${board.id}`), board)
@@ -63,7 +63,7 @@ export class BoardApi {
* @property {string} color
* @param {BoardCreateObject} boardData The board data to send.
* color the hexadecimal color value formated /[0-9A-F]{6}/i
* @returns {Promise}
* @return {Promise}
*/
createBoard(boardData) {
return axios.post(this.url('/boards'), boardData)

View File

@@ -78,7 +78,7 @@ export class StackApi {
/**
* @param {Stack} stack stack object to create
* @returns {Promise}
* @return {Promise}
*/
createStack(stack) {
return axios.post(this.url('/stacks'), stack)

View File

@@ -378,7 +378,7 @@ export default new Vuex.Store({
* @param commit.commit
* @param commit
* @param board The board to update.
* @returns {Promise<void>}
* @return {Promise<void>}
*/
async updateBoard({ commit }, board) {
const storedBoard = await apiClient.updateBoard(board)