summaryrefslogtreecommitdiff
path: root/include/webassets.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2017-03-21 23:15:58 +0300
committerEd Tanous <ed.tanous@intel.com>2017-03-21 23:15:58 +0300
commit1ccd57c4a6cd397794bb81bbb043a364d02aab4f (patch)
tree8dd4969e2394037121d751dc92b01a1749943e72 /include/webassets.hpp
parentc4771fb4cecd77272a72f3265d19096c83e5e8e9 (diff)
downloadbmcweb-1ccd57c4a6cd397794bb81bbb043a364d02aab4f.tar.xz
incremental
Diffstat (limited to 'include/webassets.hpp')
-rw-r--r--include/webassets.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/webassets.hpp b/include/webassets.hpp
index b2bda68869..924b1d50d5 100644
--- a/include/webassets.hpp
+++ b/include/webassets.hpp
@@ -6,12 +6,11 @@
#include <crow/http_request.h>
#include <crow/http_response.h>
-// TODO this is wrong. file handler shouldn't care about middlewares
#include <crow/routing.h>
-#include "token_authorization_middleware.hpp"
+#include <app_type.hpp>
namespace crow {
namespace webassets {
-void request_routes(crow::App<crow::TokenAuthorizationMiddleware>& app);
+void request_routes(BmcAppType& app);
}
} \ No newline at end of file