{"action":"created","comment":{"url":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/comments/327344456","pull_request_review_id":292072951,"id":327344456,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyNzM0NDQ1Ng==","diff_hunk":"@@ -0,0 +1,29 @@\n+const BASE_URL = 'http://127.0.0.1:8000/api/v1/';\n+\n+export const doSignup = async (values) => {\n+\n+  const result = await fetch(`${ BASE_URL }users`, {\n+    method: 'POST',\n+    headers: {\n+      'Content-Type': 'application/json'\n+    },\n+    body: JSON.stringify(values)\n+  });\n+\n+  const data = await result.json();\n+  \n+  if (result.status === 400 ) {\n+    return {\n+      ...data,\n+      error: true\n+    }\n+  } \n+  \n+  if (result.status === 201 ) {","path":"src/utils/apiSignup.js","position":22,"original_position":22,"commit_id":"76f8e1e99461cb494a2d2f93addddccd310415b3","original_commit_id":"76f8e1e99461cb494a2d2f93addddccd310415b3","user":{"login":"SabrinaFZ","id":8292424,"node_id":"MDQ6VXNlcjgyOTI0MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8292424?v=4","gravatar_id":"","url":"https://api.github.com/users/SabrinaFZ","html_url":"https://github.com/SabrinaFZ","followers_url":"https://api.github.com/users/SabrinaFZ/followers","following_url":"https://api.github.com/users/SabrinaFZ/following{/other_user}","gists_url":"https://api.github.com/users/SabrinaFZ/gists{/gist_id}","starred_url":"https://api.github.com/users/SabrinaFZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SabrinaFZ/subscriptions","organizations_url":"https://api.github.com/users/SabrinaFZ/orgs","repos_url":"https://api.github.com/users/SabrinaFZ/repos","events_url":"https://api.github.com/users/SabrinaFZ/events{/privacy}","received_events_url":"https://api.github.com/users/SabrinaFZ/received_events","type":"User","site_admin":false},"body":"Lo mismo que arriba, comprueba antes si result no es undefined","created_at":"2019-09-23T21:47:22Z","updated_at":"2019-09-23T21:47:22Z","html_url":"https://github.com/TheDevengers/welldone-FE/pull/6#discussion_r327344456","pull_request_url":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/6","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/comments/327344456"},"html":{"href":"https://github.com/TheDevengers/welldone-FE/pull/6#discussion_r327344456"},"pull_request":{"href":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/6","id":320487813,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIwNDg3ODEz","html_url":"https://github.com/TheDevengers/welldone-FE/pull/6","diff_url":"https://github.com/TheDevengers/welldone-FE/pull/6.diff","patch_url":"https://github.com/TheDevengers/welldone-FE/pull/6.patch","issue_url":"https://api.github.com/repos/TheDevengers/welldone-FE/issues/6","number":6,"state":"open","locked":false,"title":"Feature/user signup","user":{"login":"hvctgr","id":36117004,"node_id":"MDQ6VXNlcjM2MTE3MDA0","avatar_url":"https://avatars3.githubusercontent.com/u/36117004?v=4","gravatar_id":"","url":"https://api.github.com/users/hvctgr","html_url":"https://github.com/hvctgr","followers_url":"https://api.github.com/users/hvctgr/followers","following_url":"https://api.github.com/users/hvctgr/following{/other_user}","gists_url":"https://api.github.com/users/hvctgr/gists{/gist_id}","starred_url":"https://api.github.com/users/hvctgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvctgr/subscriptions","organizations_url":"https://api.github.com/users/hvctgr/orgs","repos_url":"https://api.github.com/users/hvctgr/repos","events_url":"https://api.github.com/users/hvctgr/events{/privacy}","received_events_url":"https://api.github.com/users/hvctgr/received_events","type":"User","site_admin":false},"body":"Añadido logo abreviado y logo grande (el txt son los pasos para hacer uno)\r\n\r\nComponente Datepicker añadido para su posterior uso\r\n\r\nFuncionalidad de signup realizada","created_at":"2019-09-23T21:25:02Z","updated_at":"2019-09-23T21:47:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[{"login":"Vegekku","id":12331837,"node_id":"MDQ6VXNlcjEyMzMxODM3","avatar_url":"https://avatars3.githubusercontent.com/u/12331837?v=4","gravatar_id":"","url":"https://api.github.com/users/Vegekku","html_url":"https://github.com/Vegekku","followers_url":"https://api.github.com/users/Vegekku/followers","following_url":"https://api.github.com/users/Vegekku/following{/other_user}","gists_url":"https://api.github.com/users/Vegekku/gists{/gist_id}","starred_url":"https://api.github.com/users/Vegekku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vegekku/subscriptions","organizations_url":"https://api.github.com/users/Vegekku/orgs","repos_url":"https://api.github.com/users/Vegekku/repos","events_url":"https://api.github.com/users/Vegekku/events{/privacy}","received_events_url":"https://api.github.com/users/Vegekku/received_events","type":"User","site_admin":false},{"login":"bri06","id":24435223,"node_id":"MDQ6VXNlcjI0NDM1MjIz","avatar_url":"https://avatars0.githubusercontent.com/u/24435223?v=4","gravatar_id":"","url":"https://api.github.com/users/bri06","html_url":"https://github.com/bri06","followers_url":"https://api.github.com/users/bri06/followers","following_url":"https://api.github.com/users/bri06/following{/other_user}","gists_url":"https://api.github.com/users/bri06/gists{/gist_id}","starred_url":"https://api.github.com/users/bri06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bri06/subscriptions","organizations_url":"https://api.github.com/users/bri06/orgs","repos_url":"https://api.github.com/users/bri06/repos","events_url":"https://api.github.com/users/bri06/events{/privacy}","received_events_url":"https://api.github.com/users/bri06/received_events","type":"User","site_admin":false},{"login":"basanta79","id":25265605,"node_id":"MDQ6VXNlcjI1MjY1NjA1","avatar_url":"https://avatars0.githubusercontent.com/u/25265605?v=4","gravatar_id":"","url":"https://api.github.com/users/basanta79","html_url":"https://github.com/basanta79","followers_url":"https://api.github.com/users/basanta79/followers","following_url":"https://api.github.com/users/basanta79/following{/other_user}","gists_url":"https://api.github.com/users/basanta79/gists{/gist_id}","starred_url":"https://api.github.com/users/basanta79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basanta79/subscriptions","organizations_url":"https://api.github.com/users/basanta79/orgs","repos_url":"https://api.github.com/users/basanta79/repos","events_url":"https://api.github.com/users/basanta79/events{/privacy}","received_events_url":"https://api.github.com/users/basanta79/received_events","type":"User","site_admin":false},{"login":"Ferveloper","id":27825161,"node_id":"MDQ6VXNlcjI3ODI1MTYx","avatar_url":"https://avatars3.githubusercontent.com/u/27825161?v=4","gravatar_id":"","url":"https://api.github.com/users/Ferveloper","html_url":"https://github.com/Ferveloper","followers_url":"https://api.github.com/users/Ferveloper/followers","following_url":"https://api.github.com/users/Ferveloper/following{/other_user}","gists_url":"https://api.github.com/users/Ferveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/Ferveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ferveloper/subscriptions","organizations_url":"https://api.github.com/users/Ferveloper/orgs","repos_url":"https://api.github.com/users/Ferveloper/repos","events_url":"https://api.github.com/users/Ferveloper/events{/privacy}","received_events_url":"https://api.github.com/users/Ferveloper/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/6/commits","review_comments_url":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/6/comments","review_comment_url":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TheDevengers/welldone-FE/issues/6/comments","statuses_url":"https://api.github.com/repos/TheDevengers/welldone-FE/statuses/76f8e1e99461cb494a2d2f93addddccd310415b3","head":{"label":"TheDevengers:feature/user-signup","ref":"feature/user-signup","sha":"76f8e1e99461cb494a2d2f93addddccd310415b3","user":{"login":"TheDevengers","id":55092965,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1MDkyOTY1","avatar_url":"https://avatars2.githubusercontent.com/u/55092965?v=4","gravatar_id":"","url":"https://api.github.com/users/TheDevengers","html_url":"https://github.com/TheDevengers","followers_url":"https://api.github.com/users/TheDevengers/followers","following_url":"https://api.github.com/users/TheDevengers/following{/other_user}","gists_url":"https://api.github.com/users/TheDevengers/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDevengers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDevengers/subscriptions","organizations_url":"https://api.github.com/users/TheDevengers/orgs","repos_url":"https://api.github.com/users/TheDevengers/repos","events_url":"https://api.github.com/users/TheDevengers/events{/privacy}","received_events_url":"https://api.github.com/users/TheDevengers/received_events","type":"Organization","site_admin":false},"repo":{"id":207315173,"node_id":"MDEwOlJlcG9zaXRvcnkyMDczMTUxNzM=","name":"welldone-FE","full_name":"TheDevengers/welldone-FE","private":false,"owner":{"login":"TheDevengers","id":55092965,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1MDkyOTY1","avatar_url":"https://avatars2.githubusercontent.com/u/55092965?v=4","gravatar_id":"","url":"https://api.github.com/users/TheDevengers","html_url":"https://github.com/TheDevengers","followers_url":"https://api.github.com/users/TheDevengers/followers","following_url":"https://api.github.com/users/TheDevengers/following{/other_user}","gists_url":"https://api.github.com/users/TheDevengers/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDevengers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDevengers/subscriptions","organizations_url":"https://api.github.com/users/TheDevengers/orgs","repos_url":"https://api.github.com/users/TheDevengers/repos","events_url":"https://api.github.com/users/TheDevengers/events{/privacy}","received_events_url":"https://api.github.com/users/TheDevengers/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/TheDevengers/welldone-FE","description":"Frontend of the app","fork":false,"url":"https://api.github.com/repos/TheDevengers/welldone-FE","forks_url":"https://api.github.com/repos/TheDevengers/welldone-FE/forks","keys_url":"https://api.github.com/repos/TheDevengers/welldone-FE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheDevengers/welldone-FE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheDevengers/welldone-FE/teams","hooks_url":"https://api.github.com/repos/TheDevengers/welldone-FE/hooks","issue_events_url":"https://api.github.com/repos/TheDevengers/welldone-FE/issues/events{/number}","events_url":"https://api.github.com/repos/TheDevengers/welldone-FE/events","assignees_url":"https://api.github.com/repos/TheDevengers/welldone-FE/assignees{/user}","branches_url":"https://api.github.com/repos/TheDevengers/welldone-FE/branches{/branch}","tags_url":"https://api.github.com/repos/TheDevengers/welldone-FE/tags","blobs_url":"https://api.github.com/repos/TheDevengers/welldone-FE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheDevengers/welldone-FE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheDevengers/welldone-FE/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheDevengers/welldone-FE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheDevengers/welldone-FE/statuses/{sha}","languages_url":"https://api.github.com/repos/TheDevengers/welldone-FE/languages","stargazers_url":"https://api.github.com/repos/TheDevengers/welldone-FE/stargazers","contributors_url":"https://api.github.com/repos/TheDevengers/welldone-FE/contributors","subscribers_url":"https://api.github.com/repos/TheDevengers/welldone-FE/subscribers","subscription_url":"https://api.github.com/repos/TheDevengers/welldone-FE/subscription","commits_url":"https://api.github.com/repos/TheDevengers/welldone-FE/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheDevengers/welldone-FE/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheDevengers/welldone-FE/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheDevengers/welldone-FE/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheDevengers/welldone-FE/contents/{+path}","compare_url":"https://api.github.com/repos/TheDevengers/welldone-FE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheDevengers/welldone-FE/merges","archive_url":"https://api.github.com/repos/TheDevengers/welldone-FE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheDevengers/welldone-FE/downloads","issues_url":"https://api.github.com/repos/TheDevengers/welldone-FE/issues{/number}","pulls_url":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls{/number}","milestones_url":"https://api.github.com/repos/TheDevengers/welldone-FE/milestones{/number}","notifications_url":"https://api.github.com/repos/TheDevengers/welldone-FE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheDevengers/welldone-FE/labels{/name}","releases_url":"https://api.github.com/repos/TheDevengers/welldone-FE/releases{/id}","deployments_url":"https://api.github.com/repos/TheDevengers/welldone-FE/deployments","created_at":"2019-09-09T13:26:14Z","updated_at":"2019-09-22T09:40:57Z","pushed_at":"2019-09-23T21:25:02Z","git_url":"git://github.com/TheDevengers/welldone-FE.git","ssh_url":"git@github.com:TheDevengers/welldone-FE.git","clone_url":"https://github.com/TheDevengers/welldone-FE.git","svn_url":"https://github.com/TheDevengers/welldone-FE","homepage":null,"size":378,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"TheDevengers:develop","ref":"develop","sha":"66606f1968292cdecf007c5ed26362c686c306a7","user":{"login":"TheDevengers","id":55092965,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1MDkyOTY1","avatar_url":"https://avatars2.githubusercontent.com/u/55092965?v=4","gravatar_id":"","url":"https://api.github.com/users/TheDevengers","html_url":"https://github.com/TheDevengers","followers_url":"https://api.github.com/users/TheDevengers/followers","following_url":"https://api.github.com/users/TheDevengers/following{/other_user}","gists_url":"https://api.github.com/users/TheDevengers/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDevengers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDevengers/subscriptions","organizations_url":"https://api.github.com/users/TheDevengers/orgs","repos_url":"https://api.github.com/users/TheDevengers/repos","events_url":"https://api.github.com/users/TheDevengers/events{/privacy}","received_events_url":"https://api.github.com/users/TheDevengers/received_events","type":"Organization","site_admin":false},"repo":{"id":207315173,"node_id":"MDEwOlJlcG9zaXRvcnkyMDczMTUxNzM=","name":"welldone-FE","full_name":"TheDevengers/welldone-FE","private":false,"owner":{"login":"TheDevengers","id":55092965,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1MDkyOTY1","avatar_url":"https://avatars2.githubusercontent.com/u/55092965?v=4","gravatar_id":"","url":"https://api.github.com/users/TheDevengers","html_url":"https://github.com/TheDevengers","followers_url":"https://api.github.com/users/TheDevengers/followers","following_url":"https://api.github.com/users/TheDevengers/following{/other_user}","gists_url":"https://api.github.com/users/TheDevengers/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDevengers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDevengers/subscriptions","organizations_url":"https://api.github.com/users/TheDevengers/orgs","repos_url":"https://api.github.com/users/TheDevengers/repos","events_url":"https://api.github.com/users/TheDevengers/events{/privacy}","received_events_url":"https://api.github.com/users/TheDevengers/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/TheDevengers/welldone-FE","description":"Frontend of the app","fork":false,"url":"https://api.github.com/repos/TheDevengers/welldone-FE","forks_url":"https://api.github.com/repos/TheDevengers/welldone-FE/forks","keys_url":"https://api.github.com/repos/TheDevengers/welldone-FE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheDevengers/welldone-FE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheDevengers/welldone-FE/teams","hooks_url":"https://api.github.com/repos/TheDevengers/welldone-FE/hooks","issue_events_url":"https://api.github.com/repos/TheDevengers/welldone-FE/issues/events{/number}","events_url":"https://api.github.com/repos/TheDevengers/welldone-FE/events","assignees_url":"https://api.github.com/repos/TheDevengers/welldone-FE/assignees{/user}","branches_url":"https://api.github.com/repos/TheDevengers/welldone-FE/branches{/branch}","tags_url":"https://api.github.com/repos/TheDevengers/welldone-FE/tags","blobs_url":"https://api.github.com/repos/TheDevengers/welldone-FE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheDevengers/welldone-FE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheDevengers/welldone-FE/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheDevengers/welldone-FE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheDevengers/welldone-FE/statuses/{sha}","languages_url":"https://api.github.com/repos/TheDevengers/welldone-FE/languages","stargazers_url":"https://api.github.com/repos/TheDevengers/welldone-FE/stargazers","contributors_url":"https://api.github.com/repos/TheDevengers/welldone-FE/contributors","subscribers_url":"https://api.github.com/repos/TheDevengers/welldone-FE/subscribers","subscription_url":"https://api.github.com/repos/TheDevengers/welldone-FE/subscription","commits_url":"https://api.github.com/repos/TheDevengers/welldone-FE/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheDevengers/welldone-FE/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheDevengers/welldone-FE/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheDevengers/welldone-FE/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheDevengers/welldone-FE/contents/{+path}","compare_url":"https://api.github.com/repos/TheDevengers/welldone-FE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheDevengers/welldone-FE/merges","archive_url":"https://api.github.com/repos/TheDevengers/welldone-FE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheDevengers/welldone-FE/downloads","issues_url":"https://api.github.com/repos/TheDevengers/welldone-FE/issues{/number}","pulls_url":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls{/number}","milestones_url":"https://api.github.com/repos/TheDevengers/welldone-FE/milestones{/number}","notifications_url":"https://api.github.com/repos/TheDevengers/welldone-FE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheDevengers/welldone-FE/labels{/name}","releases_url":"https://api.github.com/repos/TheDevengers/welldone-FE/releases{/id}","deployments_url":"https://api.github.com/repos/TheDevengers/welldone-FE/deployments","created_at":"2019-09-09T13:26:14Z","updated_at":"2019-09-22T09:40:57Z","pushed_at":"2019-09-23T21:25:02Z","git_url":"git://github.com/TheDevengers/welldone-FE.git","ssh_url":"git@github.com:TheDevengers/welldone-FE.git","clone_url":"https://github.com/TheDevengers/welldone-FE.git","svn_url":"https://github.com/TheDevengers/welldone-FE","homepage":null,"size":378,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/6"},"html":{"href":"https://github.com/TheDevengers/welldone-FE/pull/6"},"issue":{"href":"https://api.github.com/repos/TheDevengers/welldone-FE/issues/6"},"comments":{"href":"https://api.github.com/repos/TheDevengers/welldone-FE/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TheDevengers/welldone-FE/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/TheDevengers/welldone-FE/statuses/76f8e1e99461cb494a2d2f93addddccd310415b3"}},"author_association":"NONE"}}
{"actor":{"display_login":"SabrinaFZ"}}