mirror of
https://github.com/plankanban/planka.git
synced 2025-12-19 17:23:27 +03:00
ref: Little refactoring
This commit is contained in:
@@ -36,11 +36,6 @@ const getByTaskListIds = async (taskListIds, { sort = ['position', 'id'] } = {})
|
||||
{ sort },
|
||||
);
|
||||
|
||||
const getByLinkedCardId = (linkedCardId) =>
|
||||
defaultFind({
|
||||
linkedCardId,
|
||||
});
|
||||
|
||||
const getOneById = (id, { taskListId } = {}) => {
|
||||
const criteria = {
|
||||
id,
|
||||
@@ -68,7 +63,6 @@ module.exports = {
|
||||
getByIds,
|
||||
getByTaskListId,
|
||||
getByTaskListIds,
|
||||
getByLinkedCardId,
|
||||
getOneById,
|
||||
update,
|
||||
updateOne,
|
||||
|
||||
Reference in New Issue
Block a user