set error to null when read
gitea/vn-rfid/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-02-09 15:19:42 +01:00
parent 345bc47df1
commit 87a3bc3e8f
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ export default async(size, arcId) => {
console.logger.info(`COUNTER: SIZE:${size} ARC_ID:${arcId}`);
await con.query(`
UPDATE vn.arcRead
SET counter = ?
SET counter = ?,
error = NULL
WHERE id = ?;
`, [size, arcId]);