mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
Avoid calling ReactiveCache.getCard twice
This commit is contained in:
parent
d9fb9f49fd
commit
0a969c59d3
1 changed files with 1 additions and 1 deletions
|
|
@ -3317,7 +3317,7 @@ if (Meteor.isServer) {
|
||||||
Authentication.checkBoardAccess(req.userId, card.boardId);
|
Authentication.checkBoardAccess(req.userId, card.boardId);
|
||||||
JsonRoutes.sendResult(res, {
|
JsonRoutes.sendResult(res, {
|
||||||
code: 200,
|
code: 200,
|
||||||
data: ReactiveCache.getCard(paramCardId),
|
data: card,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue