mirror of
https://github.com/wekan/wekan.git
synced 2025-12-27 20:58:48 +01:00
Merge pull request #5829 from Atry/get_card_by_id
Avoid calling `ReactiveCache.getCard` twice
This commit is contained in:
commit
afc3c29341
1 changed files with 1 additions and 1 deletions
|
|
@ -3317,7 +3317,7 @@ if (Meteor.isServer) {
|
|||
Authentication.checkBoardAccess(req.userId, card.boardId);
|
||||
JsonRoutes.sendResult(res, {
|
||||
code: 200,
|
||||
data: ReactiveCache.getCard(paramCardId),
|
||||
data: card,
|
||||
});
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue