Skip to content

Commit

Permalink
change omit value to stringly typed per fms docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzzerd committed Dec 19, 2018
1 parent eb2217f commit 328e22a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FMData.Rest/RequestQueryInstanceConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public override void WriteJson(JsonWriter writer, RequestQueryInstance<T> value,
});
var jo = JObject.Parse(jcnvt);

//JObject jo = JObject.ReadFrom(value.QueryInstance);
if (value.Omit)
{
jo.Add("omit", value.Omit);
// as always, filemaker is stringly typed...
jo.Add("omit", "true");
}
string json = jo.ToString();
writer.WriteRawValue(json);
Expand Down

0 comments on commit 328e22a

Please sign in to comment.