{"action":"created","issue":{"url":"https://api.github.com/repos/olalonde/connectr/issues/9","repository_url":"https://api.github.com/repos/olalonde/connectr","labels_url":"https://api.github.com/repos/olalonde/connectr/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/olalonde/connectr/issues/9/comments","events_url":"https://api.github.com/repos/olalonde/connectr/issues/9/events","html_url":"https://github.com/olalonde/connectr/issues/9","id":151951830,"number":9,"title":"Unable to remove middleware","user":{"login":"mirco312312","id":1810485,"avatar_url":"https://avatars.githubusercontent.com/u/1810485?v=3","gravatar_id":"","url":"https://api.github.com/users/mirco312312","html_url":"https://github.com/mirco312312","followers_url":"https://api.github.com/users/mirco312312/followers","following_url":"https://api.github.com/users/mirco312312/following{/other_user}","gists_url":"https://api.github.com/users/mirco312312/gists{/gist_id}","starred_url":"https://api.github.com/users/mirco312312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirco312312/subscriptions","organizations_url":"https://api.github.com/users/mirco312312/orgs","repos_url":"https://api.github.com/users/mirco312312/repos","events_url":"https://api.github.com/users/mirco312312/events{/privacy}","received_events_url":"https://api.github.com/users/mirco312312/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/olalonde/connectr/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-29T19:36:05Z","updated_at":"2016-05-03T18:48:39Z","closed_at":null,"body":"Hi, I was just playing around with connectr, great Work! \r\n\r\nI had a minor issue with removing middleware by name, the call always failed with: \r\n`Cannot read property 'length' of undefined\r\nTypeError: Cannot read property 'length' of undefined` in [connectr/index.js:145](https://github.com/olalonde/connectr/blob/master/index.js#L145). \r\n\r\nI was able to fix this by changing [connectr/index.js:134](https://github.com/olalonde/connectr/blob/master/index.js#L134) to\r\n```\r\nthis.stack = stack(this);\r\norder_stack(this.stack);\r\n```"},"comment":{"url":"https://api.github.com/repos/olalonde/connectr/issues/comments/216627436","html_url":"https://github.com/olalonde/connectr/issues/9#issuecomment-216627436","issue_url":"https://api.github.com/repos/olalonde/connectr/issues/9","id":216627436,"user":{"login":"olalonde","id":416585,"avatar_url":"https://avatars.githubusercontent.com/u/416585?v=3","gravatar_id":"","url":"https://api.github.com/users/olalonde","html_url":"https://github.com/olalonde","followers_url":"https://api.github.com/users/olalonde/followers","following_url":"https://api.github.com/users/olalonde/following{/other_user}","gists_url":"https://api.github.com/users/olalonde/gists{/gist_id}","starred_url":"https://api.github.com/users/olalonde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olalonde/subscriptions","organizations_url":"https://api.github.com/users/olalonde/orgs","repos_url":"https://api.github.com/users/olalonde/repos","events_url":"https://api.github.com/users/olalonde/events{/privacy}","received_events_url":"https://api.github.com/users/olalonde/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T18:48:39Z","updated_at":"2016-05-03T18:48:39Z","body":"@faceleg thanks. I haven't used this module in a while, not sure how to fix it :P "}}