Add additional validation
Build and Publish / Build and Test (push) Failing after 10m39s

This commit is contained in:
Joshua Coles
2025-02-01 19:45:43 +00:00
parent 5286c49bd3
commit 3f439c8a31
3 changed files with 107 additions and 15 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
use axum::response::IntoResponse;
use sqlx::{Connection, PgPool};
use sqlx::{PgPool};
use toggl::TogglApi;
use worker::Worker;
@@ -97,7 +97,7 @@ async fn main() {
let cli = Cli::parse();
let toggl_api = TogglApi::new(&cli.api_token, cli.default_workspace_id);
let mut db = PgPool::connect(&cli.database_url).await.unwrap();
let db = PgPool::connect(&cli.database_url).await.unwrap();
sqlx::migrate!("./migrations")
.run(&db)