diff options
Diffstat (limited to 'src/database/postgres')
-rw-r--r-- | src/database/postgres/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/database/postgres/mod.rs b/src/database/postgres/mod.rs index 9176d12..ee7dd1c 100644 --- a/src/database/postgres/mod.rs +++ b/src/database/postgres/mod.rs @@ -60,7 +60,7 @@ impl PostgresStorage { .connect_with(options) .await? ).await - + } /// Construct a [`PostgresStorage`] from a [`sqlx::PgPool`], @@ -227,7 +227,7 @@ impl Storage for PostgresStorage { .bind(post) .execute(&mut *txn) .await?; - + txn.commit().await.map_err(Into::into) } @@ -307,7 +307,7 @@ ORDER BY mf2 #>> '{properties,published,0}' DESC ); Ok(Some(feed)) - + } #[tracing::instrument(skip(self))] |