diff --git a/models/cards.js b/models/cards.js index b70ea3861..40e8ce6e1 100644 --- a/models/cards.js +++ b/models/cards.js @@ -3392,7 +3392,7 @@ JsonRoutes.add('GET', '/api/boards/:boardId/cards_count', function( board_cards_count: ReactiveCache.getCards({ boardId: paramBoardId, archived: false, - }), + }).length, } }); } catch (error) {