Skip to content

Commit

Permalink
Fix blob check condition on FindDesc
Browse files Browse the repository at this point in the history
  • Loading branch information
luisremis committed Apr 1, 2019
1 parent b107e5a commit a3600b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DescriptorsCommand.cc
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ Json::Value FindDescriptor::construct_responses(
// desc_data["cache_id"] = Json::Int64((*ids)[i]);
}

if (results.isMember("blob")) {
if (get_value<bool>(results, "blob", false)) {

desc_data["blob"] = true;

Expand Down

0 comments on commit a3600b1

Please sign in to comment.