koishi-plugin-chat-analyse 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -253,7 +253,7 @@ var Collector = class _Collector {
|
|
|
253
253
|
}))
|
|
254
254
|
);
|
|
255
255
|
}
|
|
256
|
-
if (advancedBufferToFlush.length > 0) await this.ctx.database.
|
|
256
|
+
if (advancedBufferToFlush.length > 0) await this.ctx.database.upsert("analyse_cache", advancedBufferToFlush);
|
|
257
257
|
} catch (error) {
|
|
258
258
|
this.ctx.logger.error("写入数据出错:", error);
|
|
259
259
|
}
|