Skip to content

Commit

Permalink
removed: unnecessary comma
Browse files Browse the repository at this point in the history
  • Loading branch information
Pugma committed Oct 4, 2024
1 parent 1a5fbcb commit 2e19ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/src/repo/polling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl Repository {
}

pub async fn record_time(&self, checkpoint: String) -> Result<()> {
query!("INSERT INTO `polling`(`key`, `last`) VALUES(1, ?) ON DUPLICATE KEY UPDATE `last`=VALUES(`last`)", checkpoint,).execute(&self.pool).await?;
query!("INSERT INTO `polling`(`key`, `last`) VALUES(1, ?) ON DUPLICATE KEY UPDATE `last`=VALUES(`last`)", checkpoint).execute(&self.pool).await?;

Ok(())
}
Expand Down

0 comments on commit 2e19ec0

Please sign in to comment.