Skip to content

Commit 754bea6

Browse files
mfaferek93Copilot
authored andcommitted
Update src/ros2_medkit_gateway/src/rest_server.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 731be37 commit 754bea6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ros2_medkit_gateway/src/rest_server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ void RESTServer::handle_area_components(const httplib::Request& req, httplib::Re
171171
if (req.matches.size() < 2) {
172172
res.status = 400;
173173
res.set_content(
174-
json{{"error", "Invalid request"}}.dump(),
174+
json{{"error", "Invalid request"}}.dump(2),
175175
"application/json"
176176
);
177177
return;

0 commit comments

Comments
 (0)