Revert "fix 悬赏任务上限限制"

This reverts commit bfe48a54f4.
This commit is contained in:
dy 2024-01-02 20:42:23 +08:00
parent 4f5a1492a6
commit ee99de169d

View File

@ -15,8 +15,6 @@ export default async function (call: ApiCall<ReqRefresh, ResRefresh>) {
let event = await G.mongodb.cEvent('xstask').findOne({uid: call.uid, type: 'xstask'});
if (event?.receiveNum >= 8) return call.error(globalThis.lng.xstask_11);
delNum = delNum - (event?.receiveNum || 0)
let change: ResRefresh = {};
let needDel = taskList.filter(task => task.receiveData == undefined || task.receiveData.rec == true);