You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when the runInlineQuery method of the lookr package SDK object is called then,
if you use a filters argument as a list of the form: list(variable=condition, variable2=condition2)
where each condition is a string such as ">0",
then each condition ends up being sent to the API as a single-item array (e.g. [">0"]) and not as a string variable ">0", which I believe is not consistent with the API spec.
I applied a patch to fix this to a fork of the package
in the file LookerSDK.R
"filters = filters," -> " filters = lapply(filters, jsonlite::unbox),"
feel free to let me know if the usage of the method is intended to be as described and the fix makes sense, in which case I'd be happy to create a pull request
Thanks for a great package ! :)
The text was updated successfully, but these errors were encountered:
when the runInlineQuery method of the lookr package SDK object is called then,
if you use a filters argument as a list of the form:
list(variable=condition, variable2=condition2)
where each condition is a string such as ">0",
then each condition ends up being sent to the API as a single-item array (e.g. [">0"]) and not as a string variable ">0", which I believe is not consistent with the API spec.
I applied a patch to fix this to a fork of the package
in the file LookerSDK.R
"filters = filters," -> " filters = lapply(filters, jsonlite::unbox),"
feel free to let me know if the usage of the method is intended to be as described and the fix makes sense, in which case I'd be happy to create a pull request
Thanks for a great package ! :)
The text was updated successfully, but these errors were encountered: