From 85cbff7a62fdf073ec2a51ae6704940f6b0b890a Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Wed, 23 Jun 2021 10:17:21 -0700 Subject: [PATCH] :bug: fixed previous commits --- include/user.h | 2 +- main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/user.h b/include/user.h index 26ec26f..6761f2e 100644 --- a/include/user.h +++ b/include/user.h @@ -1,5 +1,5 @@ #pragma once -#include +#include //remove later #include #include #include diff --git a/main.cpp b/main.cpp index 4b6560b..0525c25 100644 --- a/main.cpp +++ b/main.cpp @@ -68,7 +68,7 @@ int main(int argc, char **argv) }).detach(); } - auto API = std::make_shared(&bank); + auto API = std::make_shared(bank); app().registerPostHandlingAdvice( [](const drogon::HttpRequestPtr &req, const drogon::HttpResponsePtr &resp) { resp->addHeader("Access-Control-Allow-Origin", "*");