Skip to content

Commit

Permalink
return the parent id from the extracted headers
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdinur authored Dec 3, 2024
1 parent 55ec27d commit 7316007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/system-tests/request_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void RequestHandler::on_extract_headers(const httplib::Request& req,
}

const auto response_body = nlohmann::json{
{"span_id", span->id()},
{"span_id", span->parent_id()},
};

res.set_content(response_body.dump(), "application/json");
Expand Down

0 comments on commit 7316007

Please sign in to comment.