Skip to content

Commit

Permalink
Fix search return all assets
Browse files Browse the repository at this point in the history
  • Loading branch information
davidallendj committed Aug 20, 2023
1 parent 1db5631 commit ef1749a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rest_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ namespace gdpm::rest_api{
){
using namespace rapidjson;
string request_url{constants::HostUrl + rest_api::endpoints::GET_Asset};
Document doc = rest_api::get_assets_list(request_url, rest_api_params);
Document doc = rest_api::get_assets_list(request_url, rest_api_params, filter);
if(doc.IsNull()){
return log::error_rc(error(
ec::HOST_UNREACHABLE,
Expand Down

0 comments on commit ef1749a

Please sign in to comment.