bugfix
This commit is contained in:
		@@ -210,7 +210,7 @@ module.exports = {
 | 
			
		||||
    wait_check: {
 | 
			
		||||
        insert: async (type, ids) => {
 | 
			
		||||
            // 过滤掉 id 为 0 的
 | 
			
		||||
            ids = ids.filter(id => id < 0);
 | 
			
		||||
            ids = ids.filter(id => id > 0);
 | 
			
		||||
            if (ids.length == 0) return;
 | 
			
		||||
            return await dbUtils.query(`INSERT IGNORE INTO wait_check_${type} (id) VALUES ?`, [ids.map(id => [id])]);
 | 
			
		||||
        },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user