From 2e19ec03814d31c227cf89ba3499436701a84e80 Mon Sep 17 00:00:00 2001 From: Pugma Date: Sat, 5 Oct 2024 02:13:49 +0900 Subject: [PATCH] removed: unnecessary comma --- server/app/src/repo/polling.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app/src/repo/polling.rs b/server/app/src/repo/polling.rs index d3167cc..ded259a 100644 --- a/server/app/src/repo/polling.rs +++ b/server/app/src/repo/polling.rs @@ -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(()) }