{"action":"opened","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb-server/issues/358","repository_url":"https://api.github.com/repos/pouchdb/pouchdb-server","labels_url":"https://api.github.com/repos/pouchdb/pouchdb-server/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb-server/issues/358/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb-server/issues/358/events","html_url":"https://github.com/pouchdb/pouchdb-server/issues/358","id":381229403,"node_id":"MDU6SXNzdWUzODEyMjk0MDM=","number":358,"title":"express-pouchdb db.infos() is not a function","user":{"login":"dezmou","id":22578572,"node_id":"MDQ6VXNlcjIyNTc4NTcy","avatar_url":"https://avatars1.githubusercontent.com/u/22578572?v=4","gravatar_id":"","url":"https://api.github.com/users/dezmou","html_url":"https://github.com/dezmou","followers_url":"https://api.github.com/users/dezmou/followers","following_url":"https://api.github.com/users/dezmou/following{/other_user}","gists_url":"https://api.github.com/users/dezmou/gists{/gist_id}","starred_url":"https://api.github.com/users/dezmou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dezmou/subscriptions","organizations_url":"https://api.github.com/users/dezmou/orgs","repos_url":"https://api.github.com/users/dezmou/repos","events_url":"https://api.github.com/users/dezmou/events{/privacy}","received_events_url":"https://api.github.com/users/dezmou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-15T16:05:09Z","updated_at":"2018-11-15T16:05:09Z","closed_at":null,"author_association":"NONE","body":"in this commit : https://github.com/pouchdb/pouchdb-server/commit/4d22dd4ef7dc3909db355cf10e8d1bc43df1f87d\r\n\r\nThe file lib/routes/db.js those line is added\r\n`\r\nvar db = req.PouchDB.new(name, utils.makeOpts(req));\r\ndb.info(function (err, db) {\r\n`\r\nI don't know if it is because a new version of pouchDB but, the db variable is actualy a promise so db.info() throw an unhandledPromiseRejection here in a simple project where I try to sync to my database with a client. \r\n"}}
{"actor":{"display_login":"dezmou"}}