I forgot to wrap the string... damn. God, I really need a test suite
This commit is contained in:
parent
8ce60ce278
commit
a2a47b276a
@ -108,7 +108,7 @@ async fn notify_new_transactions(
|
||||
) -> Result<(), AppError> {
|
||||
let payload = serde_json::to_string(&new_transaction_ids).map_err(|e| anyhow!(e))?;
|
||||
|
||||
db.execute_unprepared(&format!(r#"NOTIFY monzo_new_transactions, {payload}"#,))
|
||||
db.execute_unprepared(&format!(r#"NOTIFY monzo_new_transactions, '{payload}'"#,))
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user