{"action":"created","issue":{"url":"https://api.github.com/repos/strapi/strapi/issues/541","repository_url":"https://api.github.com/repos/strapi/strapi","labels_url":"https://api.github.com/repos/strapi/strapi/issues/541/labels{/name}","comments_url":"https://api.github.com/repos/strapi/strapi/issues/541/comments","events_url":"https://api.github.com/repos/strapi/strapi/issues/541/events","html_url":"https://github.com/strapi/strapi/issues/541","id":292601870,"node_id":"MDU6SXNzdWUyOTI2MDE4NzA=","number":541,"title":"Cant update an user","user":{"login":"Nyeedz","id":17225811,"node_id":"MDQ6VXNlcjE3MjI1ODEx","avatar_url":"https://avatars1.githubusercontent.com/u/17225811?v=4","gravatar_id":"","url":"https://api.github.com/users/Nyeedz","html_url":"https://github.com/Nyeedz","followers_url":"https://api.github.com/users/Nyeedz/followers","following_url":"https://api.github.com/users/Nyeedz/following{/other_user}","gists_url":"https://api.github.com/users/Nyeedz/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyeedz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyeedz/subscriptions","organizations_url":"https://api.github.com/users/Nyeedz/orgs","repos_url":"https://api.github.com/users/Nyeedz/repos","events_url":"https://api.github.com/users/Nyeedz/events{/privacy}","received_events_url":"https://api.github.com/users/Nyeedz/received_events","type":"User","site_admin":false},"labels":[{"id":749108670,"node_id":"MDU6TGFiZWw3NDkxMDg2NzA=","url":"https://api.github.com/repos/strapi/strapi/labels/priority:%20high","name":"priority: high","color":"e8591e","default":false},{"id":783919370,"node_id":"MDU6TGFiZWw3ODM5MTkzNzA=","url":"https://api.github.com/repos/strapi/strapi/labels/status:%20confirmed","name":"status: confirmed","color":"215cea","default":false},{"id":267208743,"node_id":"MDU6TGFiZWwyNjcyMDg3NDM=","url":"https://api.github.com/repos/strapi/strapi/labels/type:%20bug%20%F0%9F%90%9B","name":"type: bug 🐛","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":{"login":"lauriejim","id":5716596,"node_id":"MDQ6VXNlcjU3MTY1OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false},"assignees":[{"login":"lauriejim","id":5716596,"node_id":"MDQ6VXNlcjU3MTY1OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-01-29T23:41:17Z","updated_at":"2018-09-07T15:56:31Z","closed_at":"2018-03-15T13:07:51Z","author_association":"NONE","body":"**Node.js version**: 8.9.4\r\n\r\n**npm version**: 5.6.0\r\n\r\n**Strapi version**: 3.0.0-alpha.8.3\r\n\r\n**Operating system**: Windows 10 x64\r\n\r\n\r\n**Do you want to request a *feature* or report a *bug*?** bug\r\n\r\n**What is the current behavior?** When trying to update a user via PUT, the message **\"You can't call the query method without passing the model's name as a first argument\"** is shown on the console, and the message on the http response is this: `{\r\n\t\"statusCode\": 400,\r\n\t\"error\": \"Bad Request\",\r\n\t\"message\": \"Cannot read property 'update' of undefined\"\r\n}`\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce the problem**: Send a PUT request to the url **http://localhost:1337/user/:youruserid** with the object `{\r\n\t\"email\": \"test@test.com\"\r\n}`\r\n\r\n**What is the expected behavior?** The response code should be 200 and the user should be updated\r\n"},"comment":{"url":"https://api.github.com/repos/strapi/strapi/issues/comments/419484731","html_url":"https://github.com/strapi/strapi/issues/541#issuecomment-419484731","issue_url":"https://api.github.com/repos/strapi/strapi/issues/541","id":419484731,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQ4NDczMQ==","user":{"login":"lauriejim","id":5716596,"node_id":"MDQ6VXNlcjU3MTY1OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T15:56:31Z","updated_at":"2018-09-07T15:56:31Z","author_association":"MEMBER","body":"You have have, one user can update his profile with this route ?"}}
{"actor":{"display_login":"lauriejim"}}