1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00

chore: Fix linting

This commit is contained in:
Maksim Eltyshev 2024-08-12 18:17:36 +02:00
parent 1bf25474d0
commit cce3d7ab8d
2 changed files with 13 additions and 6 deletions

View file

@ -98,7 +98,14 @@ module.exports = {
throw Errors.NOT_ENOUGH_RIGHTS;
}
const values = _.pick(inputs, ['position', 'name', 'description', 'dueDate', 'dueCompleted', 'stopwatch']);
const values = _.pick(inputs, [
'position',
'name',
'description',
'dueDate',
'dueCompleted',
'stopwatch',
]);
const card = await sails.helpers.cards.createOne
.with({

View file

@ -1,9 +1,9 @@
module.exports.up = async (knex) => knex.schema.table('card', (table) => {
module.exports.up = async (knex) =>
knex.schema.table('card', (table) => {
/* Columns */
table.boolean('due_completed').notNullable().defaultTo(false);
});
});
module.exports.down = async (knex) => {
await knex.schema.table('card', (table) => {