diff --git a/src/state.rs b/src/state.rs index e148675..9353bc0 100644 --- a/src/state.rs +++ b/src/state.rs @@ -115,7 +115,7 @@ impl<'a> SyncState<'a> { Ok(article_revisions::table .filter(article_revisions::article_id.eq(article_id)) .filter(article_revisions::latest.eq(true)) - .select((article_revisions::slug)) + .select(article_revisions::slug) .first::(self.db_connection) .optional()?) }