Fix shortcommings

This commit is contained in:
2022-10-12 17:38:40 +02:00
parent 1d4cda7c48
commit 78b9732ca1
8 changed files with 26 additions and 15 deletions

View File

@@ -29,7 +29,7 @@ async fn main() -> anyhow::Result<()> {
let service_register = ServiceRegister::new(pool, config.clone());
Api::new(
Api::run_api(
config.api_port,
&config.cors_origin,
service_register.clone(),