sideshowcoder / canned

Server to respond with fake API responses, by using a directory of files for finding out what to say!
213 stars 46 forks source link

Canned crashes when using query string parameters #97

Closed targoo closed 8 years ago

targoo commented 8 years ago

node version: v6.1.0 Whenever you try to use query string parameters canned crashed with the following message

if(source.hasOwnProperty(prop)){ TypeError: source.hasOwnProperty is not a function

targoo commented 8 years ago

here is the PR to fix it: https://github.com/sideshowcoder/canned/pull/98

sideshowcoder commented 8 years ago

fixed thanks 👍