Commit 7ec26137 by Finley Ge Committed by GitHub

fix: team getTeamStandPlan mongo query lean (#7029)

parent 651b2091
...@@ -169,7 +169,7 @@ export const getTeamStandPlan = async ({ teamId }: { teamId: string }) => { ...@@ -169,7 +169,7 @@ export const getTeamStandPlan = async ({ teamId }: { teamId: string }) => {
{ {
...readFromSecondary ...readFromSecondary
} }
); ).lean();
sortStandPlans(plans); sortStandPlans(plans);
const standardPlans = global.subPlans?.standard; const standardPlans = global.subPlans?.standard;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment