Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sanitize parameters before sending to socrata #43

Open
eebbesen opened this issue Aug 18, 2019 · 0 comments
Open

sanitize parameters before sending to socrata #43

eebbesen opened this issue Aug 18, 2019 · 0 comments

Comments

@eebbesen
Copy link
Owner

eebbesen commented Aug 18, 2019

If you send a parameter without a value you get

data:
      { code: 'query.compiler.malformed',
        error: true,
        message: 'Could not parse SoQL query "select * where request_date>\'2019-06-19\' and count= and district_council=\'8\' order by request_date DESC" at line 1 character 53',
        data: [Object] } },
  isAxiosError: true,

http://127.0.0.1:3000/?district_council=8&count=&time_column=request_date&url=https://information.stpaul.gov/resource/qtkm-psvs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant