mirror of
https://codeberg.org/icewind/log-archiver.git
synced 2026-06-03 17:44:06 +02:00
bumb dependencies and docker ci
This commit is contained in:
parent
aec77ae756
commit
d514ab7f30
4 changed files with 610 additions and 497 deletions
|
|
@ -66,7 +66,7 @@ async fn get_last_demo(client: &Client, api_host: &str) -> Result<i32, MainError
|
|||
async fn archive(database_url: &str, api_host: &str, log_target: &Path) -> Result<(), MainError> {
|
||||
let pool = PgPool::connect(database_url).await?;
|
||||
|
||||
let client = reqwest::Client::new();
|
||||
let client = Client::new();
|
||||
|
||||
let row = sqlx::query!("SELECT MAX(id) AS last_archived FROM logs_raw")
|
||||
.fetch_one(&pool)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue