Added data label for backend.
This commit is contained in:
1 parent
7a35320351
commit
8d15e786ac
9 files changed
+231
-11
No files matched your search
@@ -33,7 +33,7 @@ fn from_postgres_row_small(row: PgRow) -> Article {
|
||||
}
|
||||
|
||||
async fn from_postgres_row(row: PgRow, pool: PgPool) -> Article {
|
||||
let variants_option = load_article_variants(row.get(0), pool).await;
|
||||
let variants_option = load_article_variants(row.get(0), &pool).await;
|
||||
|
||||
let variants = match variants_option {
|
||||
Some(variants_inner) => {
|
||||
|
||||
Reference in new issue
Block a user