{"action":"opened","issue":{"url":"https://api.github.com/repos/danielwertheim/mycouch/issues/84","labels_url":"https://api.github.com/repos/danielwertheim/mycouch/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/danielwertheim/mycouch/issues/84/comments","events_url":"https://api.github.com/repos/danielwertheim/mycouch/issues/84/events","html_url":"https://github.com/danielwertheim/mycouch/issues/84","id":90602370,"number":84,"title":"MyCouchClient constructor ","user":{"login":"logtheta","id":5921677,"avatar_url":"https://avatars.githubusercontent.com/u/5921677?v=3","gravatar_id":"","url":"https://api.github.com/users/logtheta","html_url":"https://github.com/logtheta","followers_url":"https://api.github.com/users/logtheta/followers","following_url":"https://api.github.com/users/logtheta/following{/other_user}","gists_url":"https://api.github.com/users/logtheta/gists{/gist_id}","starred_url":"https://api.github.com/users/logtheta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logtheta/subscriptions","organizations_url":"https://api.github.com/users/logtheta/orgs","repos_url":"https://api.github.com/users/logtheta/repos","events_url":"https://api.github.com/users/logtheta/events{/privacy}","received_events_url":"https://api.github.com/users/logtheta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-24T08:05:29Z","updated_at":"2015-06-24T08:05:29Z","closed_at":null,"body":"Hello,\r\nit seems that using\r\n\r\nvar client = new MyCouchClient(\"http://localhost:5984/mydb\")\r\n\r\nis different than using\r\n\r\nvar client = new MyCouchClient(\"http://localhost:5984/\",\"mydb\")\r\n\r\nIf I use the first to call a view it works while the second one not!\r\n\r\nLooking at the variable it seems an error in the request:\r\n\r\nIn the first case will be : http://localhost:5984/mybd/_design...\r\nin the second one will be http://localhost:5984/_design  (no db)\r\n\r\nThanks,\r\nGiuseppe\r\n\r\n           "}}