fixed error on API call without parameters
Merge pull request #9 from fonograph/bugfix

fixed error on API call without parameters