Cleanup
This commit is contained in:
parent
c72ee90929
commit
d63ccd06b7
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ impl<'a> SyncState<'a> {
|
||||||
Ok(article_revisions::table
|
Ok(article_revisions::table
|
||||||
.filter(article_revisions::article_id.eq(article_id))
|
.filter(article_revisions::article_id.eq(article_id))
|
||||||
.filter(article_revisions::latest.eq(true))
|
.filter(article_revisions::latest.eq(true))
|
||||||
.select((article_revisions::slug))
|
.select(article_revisions::slug)
|
||||||
.first::<String>(self.db_connection)
|
.first::<String>(self.db_connection)
|
||||||
.optional()?)
|
.optional()?)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue