diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15675e3..147f372 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,17 +36,6 @@ jobs: - name: Test run: cargo test - docker_build: - name: Docker build - runs-on: ubuntu-22.04 - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Build Docker image - run: docker build . - lint: name: Lint runs-on: ubuntu-22.04 diff --git a/service/src/lib.rs b/service/src/lib.rs index 9a072e3..65f9c2f 100644 --- a/service/src/lib.rs +++ b/service/src/lib.rs @@ -31,10 +31,10 @@ pub struct AppState { } impl AppState { - pub fn new(config: Config) -> Self { + pub fn new(app_config: Config) -> Self { Self { database_connection: None, - config: config, + config: app_config, } } }