diff options
author | Vika <vika@fireburn.ru> | 2024-01-29 07:08:21 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-01-29 07:08:21 +0300 |
commit | d36014200549cf73a7f22c6f94fb15bec17823e8 (patch) | |
tree | 6e56f912219c5d20e2768b1f016f23fff22fe83e /src/database | |
parent | ed51d48f7353a5ceefa798ded52d3af465d4d0ec (diff) | |
download | kittybox-d36014200549cf73a7f22c6f94fb15bec17823e8.tar.zst |
lint: no extra whitespace on line endings
Diffstat (limited to 'src/database')
-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))] |