Skip to content

Commit 591acfa

Browse files
authored
fix: remove statement source on statement update (#458)
1 parent 762439b commit 591acfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/writer/statement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export async function action(body, ipfs, receipt, id): Promise<void> {
3939
};
4040

4141
const query =
42-
'INSERT INTO statements SET ? ON DUPLICATE KEY UPDATE ipfs = ?, about = ?, statement = ?, discourse = ?, status = ?, updated = ?';
42+
'INSERT INTO statements SET ? ON DUPLICATE KEY UPDATE ipfs = ?, about = ?, statement = ?, discourse = ?, status = ?, updated = ?, source = NULL';
4343
const params = [
4444
item,
4545
item.ipfs,

0 commit comments

Comments
 (0)