This commit is contained in:
Magnus Hoff 2018-05-12 14:36:52 +02:00
parent c72ee90929
commit d63ccd06b7

View file

@ -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::<String>(self.db_connection)
.optional()?)
}