{"action":"closed","issue":{"url":"https://api.github.com/repos/nolanlawson/pouchdb-find/issues/100","labels_url":"https://api.github.com/repos/nolanlawson/pouchdb-find/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/nolanlawson/pouchdb-find/issues/100/comments","events_url":"https://api.github.com/repos/nolanlawson/pouchdb-find/issues/100/events","html_url":"https://github.com/nolanlawson/pouchdb-find/issues/100","id":113662007,"number":100,"title":"getIndexes error: Object.keys called on non-object","user":{"login":"johnnason","id":12417878,"avatar_url":"https://avatars.githubusercontent.com/u/12417878?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnason","html_url":"https://github.com/johnnason","followers_url":"https://api.github.com/users/johnnason/followers","following_url":"https://api.github.com/users/johnnason/following{/other_user}","gists_url":"https://api.github.com/users/johnnason/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnason/subscriptions","organizations_url":"https://api.github.com/users/johnnason/orgs","repos_url":"https://api.github.com/users/johnnason/repos","events_url":"https://api.github.com/users/johnnason/events{/privacy}","received_events_url":"https://api.github.com/users/johnnason/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-27T19:25:10Z","updated_at":"2015-11-12T14:11:20Z","closed_at":"2015-11-12T14:11:20Z","body":"I've replicated a Cloudant db to a local pouchDB running in node 0.12.2.\r\n\r\nI'm now trying to use pouchdb-find to list the indexes in this replicated DB, and get the following error response:\r\n\r\n{\r\n  \"message\": \"Object.keys called on non-object\",\r\n  \"stack\": \"TypeError: Object.keys called on non-object\\n at Function.keys (native)\\n at ...node_modules\\/pouchdb-find\\/lib\\/adapters\\/local\\/get-indexes\\/index.js:30:30\\n at Array.map (native)\\n at ...node_modules\\/pouchdb-find\\/lib\\/adapters\\/local\\/get-indexes\\/index.js:29:8\"\r\n}"}}