mirror of
https://github.com/plankanban/planka.git
synced 2025-07-21 14:19:44 +02:00
parent
4124ab17d2
commit
3779bdb053
38 changed files with 416 additions and 9 deletions
|
@ -35,7 +35,8 @@ module.exports = {
|
|||
async fn(inputs) {
|
||||
const { currentUser } = this.req;
|
||||
|
||||
let { list } = await sails.helpers.lists
|
||||
// eslint-disable-next-line prefer-const
|
||||
let { list, board } = await sails.helpers.lists
|
||||
.getProjectPath(inputs.id)
|
||||
.intercept('pathNotFound', () => Errors.LIST_NOT_FOUND);
|
||||
|
||||
|
@ -56,6 +57,7 @@ module.exports = {
|
|||
|
||||
list = await sails.helpers.lists.updateOne.with({
|
||||
values,
|
||||
board,
|
||||
record: list,
|
||||
request: this.req,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue