Skip to content

Commit 247a80e

Browse files
committed
added todo
1 parent 972f7ef commit 247a80e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

isis/src/base/objs/RestfulSpice/RestfulSpice.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ namespace Isis::RestfulSpice{
4949
if (useWeb){
5050
json args = json::object({
5151
{"frameCode", frameCode},
52+
{"sclk", sclk},
5253
{"mission", mission}
5354
});
5455
json out = spiceAPIQuery("strSclkToEt", args);
@@ -221,6 +222,7 @@ namespace Isis::RestfulSpice{
221222
queryString+= "&";
222223
}
223224
json j;
225+
// @TODO throw exception if no json or invalid json is returned
224226
client.Build()->Get(queryString).Option(CURLOPT_FOLLOWLOCATION, 1L).AcceptJson().WithCompletion([&](const restincurl::Result& result) {
225227
j = json::parse(result.body);
226228
}).ExecuteSynchronous();

0 commit comments

Comments
 (0)