Avoid calling ReactiveCache.getCard twice

This commit is contained in:
Yang, Bo 2025-07-15 14:58:21 -07:00 committed by GitHub
parent d9fb9f49fd
commit 0a969c59d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3317,7 +3317,7 @@ if (Meteor.isServer) {
Authentication.checkBoardAccess(req.userId, card.boardId);
JsonRoutes.sendResult(res, {
code: 200,
data: ReactiveCache.getCard(paramCardId),
data: card,
});
},
);