Skip to content

Commit

Permalink
fix: remove statement source on statement update
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Oct 14, 2024
1 parent 37c3e3e commit 188c09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/writer/statement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function action(body, ipfs, receipt, id): Promise<void> {
};

const query =
'INSERT INTO statements SET ? ON DUPLICATE KEY UPDATE ipfs = ?, about = ?, statement = ?, discourse = ?, status = ?, updated = ?';
'INSERT INTO statements SET ? ON DUPLICATE KEY UPDATE ipfs = ?, about = ?, statement = ?, discourse = ?, status = ?, updated = ?, source = NULL';
const params = [
item,
item.ipfs,
Expand Down

0 comments on commit 188c09e

Please sign in to comment.