new(core.gbapp): LLM alerts for data.

This commit is contained in:
me@rodrigorodriguez.com 2024-10-16 12:56:28 -03:00
parent 2a279d27ca
commit 7df5ab0244

View file

@ -750,7 +750,7 @@ export class SystemKeywords {
public async saveToStorageBatch({ pid, table, rows }): Promise<void> {
const { min } = await DialogKeywords.getProcessInfo(pid);
if (!Array.isArray(data) && typeof rows === 'object' && rows !== null) {
if (!Array.isArray(rows) && typeof rows === 'object' && rows !== null) {
rows = [rows];
}