Commit 43a38b6c authored by qinhaitao's avatar qinhaitao

fix: 🐛 bug

parent e7f59143
...@@ -50,7 +50,7 @@ async function initBaseInfo(context: IContext<IParams>, baseInfos: ICheckControl ...@@ -50,7 +50,7 @@ async function initBaseInfo(context: IContext<IParams>, baseInfos: ICheckControl
} }
if (needInfos.includes('credits') && !baseInfos.credits) { if (needInfos.includes('credits') && !baseInfos.credits) {
const credits = await TBAPIS.queryCredits(this.context) const credits = await TBAPIS.queryCredits(context)
baseInfos.credits = credits baseInfos.credits = credits
} }
......
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 to comment