Skip to content

Commit

Permalink
fix(confighttp): return boolean instead of "true" string
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Jan 10, 2025
1 parent a46f6ea commit 20311da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/confighttp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ namespace confighttp {
return;
}

outputTree.put("status", "true");
outputTree.put("status", true);
proc::refresh(config::stream.file_apps);
}

Expand Down Expand Up @@ -759,7 +759,7 @@ namespace confighttp {
print_req(request);

pt::ptree outputTree;
outputTree.put("status", "true");
outputTree.put("status", true);
outputTree.put("platform", SUNSHINE_PLATFORM);
outputTree.put("version", PROJECT_VER);

Expand Down

0 comments on commit 20311da

Please sign in to comment.