{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/fetchr/issues/101","labels_url":"https://api.github.com/repos/yahoo/fetchr/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/fetchr/issues/101/comments","events_url":"https://api.github.com/repos/yahoo/fetchr/issues/101/events","html_url":"https://github.com/yahoo/fetchr/issues/101","id":89016840,"number":101,"title":"Bad resource","user":{"login":"lohek","id":582703,"avatar_url":"https://avatars.githubusercontent.com/u/582703?v=3","gravatar_id":"","url":"https://api.github.com/users/lohek","html_url":"https://github.com/lohek","followers_url":"https://api.github.com/users/lohek/followers","following_url":"https://api.github.com/users/lohek/following{/other_user}","gists_url":"https://api.github.com/users/lohek/gists{/gist_id}","starred_url":"https://api.github.com/users/lohek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lohek/subscriptions","organizations_url":"https://api.github.com/users/lohek/orgs","repos_url":"https://api.github.com/users/lohek/repos","events_url":"https://api.github.com/users/lohek/events{/privacy}","received_events_url":"https://api.github.com/users/lohek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-17T13:29:23Z","updated_at":"2015-06-17T14:54:47Z","closed_at":null,"body":"Hi,\r\n\r\nOn new version, you have add this\r\n```\r\nif (!Fetcher.isRegistered(resource)) {\r\n  error = fumble.http.badRequest('Invalid Fetchr Access', {\r\n    debug: 'Bad resource ' + resource\r\n  });\r\n  error.source = 'fetchr';\r\n  return next(error);\r\n}\r\n```\r\nBut... what's happening when i want use \"todo.toggleAll\" on resource name (https://github.com/yahoo/flux-examples/blob/master/todo/actions/toggleAll.js#L11, https://github.com/yahoo/flux-examples/blob/master/todo/services/todo.js#L43), it's just check resource var, when it should be\r\n```\r\nresource.split('.')[0]\r\n```\r\n\r\nAfter maybe i completely wrong (suddenly i do not really know what to do).\r\n\r\nThanks !"},"comment":{"url":"https://api.github.com/repos/yahoo/fetchr/issues/comments/112830845","html_url":"https://github.com/yahoo/fetchr/issues/101#issuecomment-112830845","issue_url":"https://api.github.com/repos/yahoo/fetchr/issues/101","id":112830845,"user":{"login":"Vijar","id":759766,"avatar_url":"https://avatars.githubusercontent.com/u/759766?v=3","gravatar_id":"","url":"https://api.github.com/users/Vijar","html_url":"https://github.com/Vijar","followers_url":"https://api.github.com/users/Vijar/followers","following_url":"https://api.github.com/users/Vijar/following{/other_user}","gists_url":"https://api.github.com/users/Vijar/gists{/gist_id}","starred_url":"https://api.github.com/users/Vijar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vijar/subscriptions","organizations_url":"https://api.github.com/users/Vijar/orgs","repos_url":"https://api.github.com/users/Vijar/repos","events_url":"https://api.github.com/users/Vijar/events{/privacy}","received_events_url":"https://api.github.com/users/Vijar/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T14:54:47Z","updated_at":"2015-06-17T14:54:47Z","body":"@lohek you're right, this was a mistake. I'm working on a fix right now."}}