Skip to content

Commit

Permalink
added todo
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinSanders committed Jul 12, 2024
1 parent cbfc668 commit 69a7f76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions isis/src/base/objs/RestfulSpice/RestfulSpice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ namespace Isis::RestfulSpice{
if (useWeb){
json args = json::object({
{"frameCode", frameCode},
{"sclk", sclk},
{"mission", mission}
});
json out = spiceAPIQuery("strSclkToEt", args);
Expand Down Expand Up @@ -221,6 +222,7 @@ namespace Isis::RestfulSpice{
queryString+= "&";
}
json j;
// @TODO throw exception if no json or invalid json is returned
client.Build()->Get(queryString).Option(CURLOPT_FOLLOWLOCATION, 1L).AcceptJson().WithCompletion([&](const restincurl::Result& result) {
j = json::parse(result.body);
}).ExecuteSynchronous();
Expand Down

0 comments on commit 69a7f76

Please sign in to comment.