API is functional again after the dependency updates

This commit is contained in:
kdeng00 committed 2020-02-02 20:32:09 -05:00
1 parent 57f76ee4a4
commit b067882c09
8 files changed
+187 -22

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ namespace controller {
// endpoint for uploading a song
ENDPOINT("POST", "/api/v1/song/data", songUpload,
AUTHORIZATION(std::shared_ptr<oatpp::web::server::handler::DefaultBearerAuthorizationObject>, authObject),
//AUTHORIZATION(std::shared_ptr<oatpp::web::server::handler::DefaultBearerAuthorizationObject>, authObject),
REQUEST(std::shared_ptr<IncomingRequest>, request)) {
auto authHeader = request->getHeader("Authorization");
OATPP_ASSERT_HTTP(authHeader, Status::CODE_403, "Nope");