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

@@ -12,7 +12,7 @@ use crate::controllers::graphql::GraphQLController;
pub struct Api;
impl Api {
pub async fn new(
pub async fn run_api(
port: u32,
cors_origin: &str,
service_register: ServiceRegister,