{"action":"created","issue":{"url":"https://api.github.com/repos/andrelandgraf/high5-learning-backend/issues/26","repository_url":"https://api.github.com/repos/andrelandgraf/high5-learning-backend","labels_url":"https://api.github.com/repos/andrelandgraf/high5-learning-backend/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/andrelandgraf/high5-learning-backend/issues/26/comments","events_url":"https://api.github.com/repos/andrelandgraf/high5-learning-backend/issues/26/events","html_url":"https://github.com/andrelandgraf/high5-learning-backend/issues/26","id":329957800,"node_id":"MDU6SXNzdWUzMjk5NTc4MDA=","number":26,"title":"Username not unqiue","user":{"login":"tum-aweink","id":14924669,"node_id":"MDQ6VXNlcjE0OTI0NjY5","avatar_url":"https://avatars1.githubusercontent.com/u/14924669?v=4","gravatar_id":"","url":"https://api.github.com/users/tum-aweink","html_url":"https://github.com/tum-aweink","followers_url":"https://api.github.com/users/tum-aweink/followers","following_url":"https://api.github.com/users/tum-aweink/following{/other_user}","gists_url":"https://api.github.com/users/tum-aweink/gists{/gist_id}","starred_url":"https://api.github.com/users/tum-aweink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tum-aweink/subscriptions","organizations_url":"https://api.github.com/users/tum-aweink/orgs","repos_url":"https://api.github.com/users/tum-aweink/repos","events_url":"https://api.github.com/users/tum-aweink/events{/privacy}","received_events_url":"https://api.github.com/users/tum-aweink/received_events","type":"User","site_admin":false},"labels":[{"id":934136993,"node_id":"MDU6TGFiZWw5MzQxMzY5OTM=","url":"https://api.github.com/repos/andrelandgraf/high5-learning-backend/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":{"login":"andrelandgraf","id":15163028,"node_id":"MDQ6VXNlcjE1MTYzMDI4","avatar_url":"https://avatars0.githubusercontent.com/u/15163028?v=4","gravatar_id":"","url":"https://api.github.com/users/andrelandgraf","html_url":"https://github.com/andrelandgraf","followers_url":"https://api.github.com/users/andrelandgraf/followers","following_url":"https://api.github.com/users/andrelandgraf/following{/other_user}","gists_url":"https://api.github.com/users/andrelandgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/andrelandgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrelandgraf/subscriptions","organizations_url":"https://api.github.com/users/andrelandgraf/orgs","repos_url":"https://api.github.com/users/andrelandgraf/repos","events_url":"https://api.github.com/users/andrelandgraf/events{/privacy}","received_events_url":"https://api.github.com/users/andrelandgraf/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrelandgraf","id":15163028,"node_id":"MDQ6VXNlcjE1MTYzMDI4","avatar_url":"https://avatars0.githubusercontent.com/u/15163028?v=4","gravatar_id":"","url":"https://api.github.com/users/andrelandgraf","html_url":"https://github.com/andrelandgraf","followers_url":"https://api.github.com/users/andrelandgraf/followers","following_url":"https://api.github.com/users/andrelandgraf/following{/other_user}","gists_url":"https://api.github.com/users/andrelandgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/andrelandgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrelandgraf/subscriptions","organizations_url":"https://api.github.com/users/andrelandgraf/orgs","repos_url":"https://api.github.com/users/andrelandgraf/repos","events_url":"https://api.github.com/users/andrelandgraf/events{/privacy}","received_events_url":"https://api.github.com/users/andrelandgraf/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-06-06T17:13:21Z","updated_at":"2018-06-09T20:51:22Z","closed_at":"2018-06-09T20:51:22Z","author_association":"COLLABORATOR","body":"The username of a student or teacher has to be unique because we need to separate them precisely. \n\nCurrent behaviour: Backend does not check if username already exists. User model does not specify the username as unique. \n\nExpected behaviour: no duplicates\n\nNot necessary, but i would like it: use and validate email as username (because these are always unique)"},"comment":{"url":"https://api.github.com/repos/andrelandgraf/high5-learning-backend/issues/comments/395997998","html_url":"https://github.com/andrelandgraf/high5-learning-backend/issues/26#issuecomment-395997998","issue_url":"https://api.github.com/repos/andrelandgraf/high5-learning-backend/issues/26","id":395997998,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTk5Nzk5OA==","user":{"login":"andrelandgraf","id":15163028,"node_id":"MDQ6VXNlcjE1MTYzMDI4","avatar_url":"https://avatars0.githubusercontent.com/u/15163028?v=4","gravatar_id":"","url":"https://api.github.com/users/andrelandgraf","html_url":"https://github.com/andrelandgraf","followers_url":"https://api.github.com/users/andrelandgraf/followers","following_url":"https://api.github.com/users/andrelandgraf/following{/other_user}","gists_url":"https://api.github.com/users/andrelandgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/andrelandgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrelandgraf/subscriptions","organizations_url":"https://api.github.com/users/andrelandgraf/orgs","repos_url":"https://api.github.com/users/andrelandgraf/repos","events_url":"https://api.github.com/users/andrelandgraf/events{/privacy}","received_events_url":"https://api.github.com/users/andrelandgraf/received_events","type":"User","site_admin":false},"created_at":"2018-06-09T20:51:22Z","updated_at":"2018-06-09T20:51:22Z","author_association":"OWNER","body":"Username is of type email now (validation in frontend) and unquie (validaiton in backend)"}}
{"actor":{"display_login":"andrelandgraf"}}