improvement: make better use of sqlite connections
This commit is contained in:
@@ -52,7 +52,7 @@ pub async fn create_content_route(
|
||||
)
|
||||
.await?;
|
||||
|
||||
db.flush().await?;
|
||||
db.flush()?;
|
||||
|
||||
Ok(create_content::Response {
|
||||
content_uri: mxc.try_into().expect("Invalid mxc:// URI"),
|
||||
|
||||
Reference in New Issue
Block a user