{"action":"created","comment":{"url":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/comments/244333437","pull_request_review_id":188300344,"id":244333437,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDMzMzQzNw==","diff_hunk":"@@ -0,0 +1,89 @@\n+// @flow\n+\n+import connect from 'react-redux/es/connect/connect'\n+import { Linking } from 'react-native'\n+import Extras from '../components/Extras'\n+import { translate } from 'react-i18next'\n+import type { StateType } from '../../../modules/app/StateType'\n+import compose from 'lodash/fp/compose'\n+import { CityModel, ExtraModel } from '@integreat-app/integreat-api-client'\n+\n+type JsonExtraPostType = {\n+  [key: string]: string\n+}\n+\n+export const createPostMap = (jsonPost: JsonExtraPostType): Map<string, string> => {\n+  const map = new Map()\n+  Object.keys(jsonPost).forEach(key => map.set(key, jsonPost[key]))\n+  return map\n+}\n+\n+const mapStateToProps = (state: StateType, ownProps) => {\n+  const language: string = state.language\n+\n+  const targetCity: CityModel = ownProps.navigation.getParam('cityModel')\n+  console.log(targetCity)","path":"src/modules/extras/containers/ExtrasContainer.js","position":25,"original_position":25,"commit_id":"447d86abeedc2bb2a49de36582e53e32663f7c6a","original_commit_id":"447d86abeedc2bb2a49de36582e53e32663f7c6a","user":{"login":"klinzo","id":29095487,"node_id":"MDQ6VXNlcjI5MDk1NDg3","avatar_url":"https://avatars3.githubusercontent.com/u/29095487?v=4","gravatar_id":"","url":"https://api.github.com/users/klinzo","html_url":"https://github.com/klinzo","followers_url":"https://api.github.com/users/klinzo/followers","following_url":"https://api.github.com/users/klinzo/following{/other_user}","gists_url":"https://api.github.com/users/klinzo/gists{/gist_id}","starred_url":"https://api.github.com/users/klinzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klinzo/subscriptions","organizations_url":"https://api.github.com/users/klinzo/orgs","repos_url":"https://api.github.com/users/klinzo/repos","events_url":"https://api.github.com/users/klinzo/events{/privacy}","received_events_url":"https://api.github.com/users/klinzo/received_events","type":"User","site_admin":false},"body":"Remove this.","created_at":"2018-12-28T14:31:54Z","updated_at":"2018-12-28T14:48:19Z","html_url":"https://github.com/Integreat/integreat-react-native-app/pull/11#discussion_r244333437","pull_request_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/11","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/comments/244333437"},"html":{"href":"https://github.com/Integreat/integreat-react-native-app/pull/11#discussion_r244333437"},"pull_request":{"href":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/11","id":241213463,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxMjEzNDYz","html_url":"https://github.com/Integreat/integreat-react-native-app/pull/11","diff_url":"https://github.com/Integreat/integreat-react-native-app/pull/11.diff","patch_url":"https://github.com/Integreat/integreat-react-native-app/pull/11.patch","issue_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/issues/11","number":11,"state":"open","locked":false,"title":"NATIVE-60: Copy extras from webapp","user":{"login":"NKlug","id":22690812,"node_id":"MDQ6VXNlcjIyNjkwODEy","avatar_url":"https://avatars0.githubusercontent.com/u/22690812?v=4","gravatar_id":"","url":"https://api.github.com/users/NKlug","html_url":"https://github.com/NKlug","followers_url":"https://api.github.com/users/NKlug/followers","following_url":"https://api.github.com/users/NKlug/following{/other_user}","gists_url":"https://api.github.com/users/NKlug/gists{/gist_id}","starred_url":"https://api.github.com/users/NKlug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NKlug/subscriptions","organizations_url":"https://api.github.com/users/NKlug/orgs","repos_url":"https://api.github.com/users/NKlug/repos","events_url":"https://api.github.com/users/NKlug/events{/privacy}","received_events_url":"https://api.github.com/users/NKlug/received_events","type":"User","site_admin":false},"body":"I misnamed some commits :(","created_at":"2018-12-27T19:47:19Z","updated_at":"2018-12-28T14:48:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56f9c24305ba26eb3823e3df8a604d48f62c3f9e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"maxammann","id":905221,"node_id":"MDQ6VXNlcjkwNTIyMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/905221?v=4","gravatar_id":"","url":"https://api.github.com/users/maxammann","html_url":"https://github.com/maxammann","followers_url":"https://api.github.com/users/maxammann/followers","following_url":"https://api.github.com/users/maxammann/following{/other_user}","gists_url":"https://api.github.com/users/maxammann/gists{/gist_id}","starred_url":"https://api.github.com/users/maxammann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxammann/subscriptions","organizations_url":"https://api.github.com/users/maxammann/orgs","repos_url":"https://api.github.com/users/maxammann/repos","events_url":"https://api.github.com/users/maxammann/events{/privacy}","received_events_url":"https://api.github.com/users/maxammann/received_events","type":"User","site_admin":false},{"login":"thimmy687","id":7715216,"node_id":"MDQ6VXNlcjc3MTUyMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/7715216?v=4","gravatar_id":"","url":"https://api.github.com/users/thimmy687","html_url":"https://github.com/thimmy687","followers_url":"https://api.github.com/users/thimmy687/followers","following_url":"https://api.github.com/users/thimmy687/following{/other_user}","gists_url":"https://api.github.com/users/thimmy687/gists{/gist_id}","starred_url":"https://api.github.com/users/thimmy687/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thimmy687/subscriptions","organizations_url":"https://api.github.com/users/thimmy687/orgs","repos_url":"https://api.github.com/users/thimmy687/repos","events_url":"https://api.github.com/users/thimmy687/events{/privacy}","received_events_url":"https://api.github.com/users/thimmy687/received_events","type":"User","site_admin":false},{"login":"Simple-codinger","id":10844097,"node_id":"MDQ6VXNlcjEwODQ0MDk3","avatar_url":"https://avatars1.githubusercontent.com/u/10844097?v=4","gravatar_id":"","url":"https://api.github.com/users/Simple-codinger","html_url":"https://github.com/Simple-codinger","followers_url":"https://api.github.com/users/Simple-codinger/followers","following_url":"https://api.github.com/users/Simple-codinger/following{/other_user}","gists_url":"https://api.github.com/users/Simple-codinger/gists{/gist_id}","starred_url":"https://api.github.com/users/Simple-codinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simple-codinger/subscriptions","organizations_url":"https://api.github.com/users/Simple-codinger/orgs","repos_url":"https://api.github.com/users/Simple-codinger/repos","events_url":"https://api.github.com/users/Simple-codinger/events{/privacy}","received_events_url":"https://api.github.com/users/Simple-codinger/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/11/commits","review_comments_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/11/comments","review_comment_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/issues/11/comments","statuses_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/statuses/447d86abeedc2bb2a49de36582e53e32663f7c6a","head":{"label":"Integreat:NATIVE-60-copy-extras-from-webapp","ref":"NATIVE-60-copy-extras-from-webapp","sha":"447d86abeedc2bb2a49de36582e53e32663f7c6a","user":{"login":"Integreat","id":15210781,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MjEwNzgx","avatar_url":"https://avatars0.githubusercontent.com/u/15210781?v=4","gravatar_id":"","url":"https://api.github.com/users/Integreat","html_url":"https://github.com/Integreat","followers_url":"https://api.github.com/users/Integreat/followers","following_url":"https://api.github.com/users/Integreat/following{/other_user}","gists_url":"https://api.github.com/users/Integreat/gists{/gist_id}","starred_url":"https://api.github.com/users/Integreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Integreat/subscriptions","organizations_url":"https://api.github.com/users/Integreat/orgs","repos_url":"https://api.github.com/users/Integreat/repos","events_url":"https://api.github.com/users/Integreat/events{/privacy}","received_events_url":"https://api.github.com/users/Integreat/received_events","type":"Organization","site_admin":false},"repo":{"id":138486915,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg0ODY5MTU=","name":"integreat-react-native-app","full_name":"Integreat/integreat-react-native-app","private":false,"owner":{"login":"Integreat","id":15210781,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MjEwNzgx","avatar_url":"https://avatars0.githubusercontent.com/u/15210781?v=4","gravatar_id":"","url":"https://api.github.com/users/Integreat","html_url":"https://github.com/Integreat","followers_url":"https://api.github.com/users/Integreat/followers","following_url":"https://api.github.com/users/Integreat/following{/other_user}","gists_url":"https://api.github.com/users/Integreat/gists{/gist_id}","starred_url":"https://api.github.com/users/Integreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Integreat/subscriptions","organizations_url":"https://api.github.com/users/Integreat/orgs","repos_url":"https://api.github.com/users/Integreat/repos","events_url":"https://api.github.com/users/Integreat/events{/privacy}","received_events_url":"https://api.github.com/users/Integreat/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Integreat/integreat-react-native-app","description":"Mockup for a react native client for integreat","fork":false,"url":"https://api.github.com/repos/Integreat/integreat-react-native-app","forks_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/forks","keys_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/teams","hooks_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/hooks","issue_events_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/issues/events{/number}","events_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/events","assignees_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/assignees{/user}","branches_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/branches{/branch}","tags_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/tags","blobs_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/statuses/{sha}","languages_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/languages","stargazers_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/stargazers","contributors_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/contributors","subscribers_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/subscribers","subscription_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/subscription","commits_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/contents/{+path}","compare_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/merges","archive_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/downloads","issues_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/issues{/number}","pulls_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls{/number}","milestones_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/milestones{/number}","notifications_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/labels{/name}","releases_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/releases{/id}","deployments_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/deployments","created_at":"2018-06-24T14:05:58Z","updated_at":"2018-12-25T11:26:50Z","pushed_at":"2018-12-27T20:02:46Z","git_url":"git://github.com/Integreat/integreat-react-native-app.git","ssh_url":"git@github.com:Integreat/integreat-react-native-app.git","clone_url":"https://github.com/Integreat/integreat-react-native-app.git","svn_url":"https://github.com/Integreat/integreat-react-native-app","homepage":null,"size":17499,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"Integreat:develop","ref":"develop","sha":"b6773f210fd8c480ab1de4ab1cd8b32b8d5b2449","user":{"login":"Integreat","id":15210781,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MjEwNzgx","avatar_url":"https://avatars0.githubusercontent.com/u/15210781?v=4","gravatar_id":"","url":"https://api.github.com/users/Integreat","html_url":"https://github.com/Integreat","followers_url":"https://api.github.com/users/Integreat/followers","following_url":"https://api.github.com/users/Integreat/following{/other_user}","gists_url":"https://api.github.com/users/Integreat/gists{/gist_id}","starred_url":"https://api.github.com/users/Integreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Integreat/subscriptions","organizations_url":"https://api.github.com/users/Integreat/orgs","repos_url":"https://api.github.com/users/Integreat/repos","events_url":"https://api.github.com/users/Integreat/events{/privacy}","received_events_url":"https://api.github.com/users/Integreat/received_events","type":"Organization","site_admin":false},"repo":{"id":138486915,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg0ODY5MTU=","name":"integreat-react-native-app","full_name":"Integreat/integreat-react-native-app","private":false,"owner":{"login":"Integreat","id":15210781,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MjEwNzgx","avatar_url":"https://avatars0.githubusercontent.com/u/15210781?v=4","gravatar_id":"","url":"https://api.github.com/users/Integreat","html_url":"https://github.com/Integreat","followers_url":"https://api.github.com/users/Integreat/followers","following_url":"https://api.github.com/users/Integreat/following{/other_user}","gists_url":"https://api.github.com/users/Integreat/gists{/gist_id}","starred_url":"https://api.github.com/users/Integreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Integreat/subscriptions","organizations_url":"https://api.github.com/users/Integreat/orgs","repos_url":"https://api.github.com/users/Integreat/repos","events_url":"https://api.github.com/users/Integreat/events{/privacy}","received_events_url":"https://api.github.com/users/Integreat/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Integreat/integreat-react-native-app","description":"Mockup for a react native client for integreat","fork":false,"url":"https://api.github.com/repos/Integreat/integreat-react-native-app","forks_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/forks","keys_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/teams","hooks_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/hooks","issue_events_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/issues/events{/number}","events_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/events","assignees_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/assignees{/user}","branches_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/branches{/branch}","tags_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/tags","blobs_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/statuses/{sha}","languages_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/languages","stargazers_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/stargazers","contributors_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/contributors","subscribers_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/subscribers","subscription_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/subscription","commits_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/contents/{+path}","compare_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/merges","archive_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/downloads","issues_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/issues{/number}","pulls_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls{/number}","milestones_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/milestones{/number}","notifications_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/labels{/name}","releases_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/releases{/id}","deployments_url":"https://api.github.com/repos/Integreat/integreat-react-native-app/deployments","created_at":"2018-06-24T14:05:58Z","updated_at":"2018-12-25T11:26:50Z","pushed_at":"2018-12-27T20:02:46Z","git_url":"git://github.com/Integreat/integreat-react-native-app.git","ssh_url":"git@github.com:Integreat/integreat-react-native-app.git","clone_url":"https://github.com/Integreat/integreat-react-native-app.git","svn_url":"https://github.com/Integreat/integreat-react-native-app","homepage":null,"size":17499,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/11"},"html":{"href":"https://github.com/Integreat/integreat-react-native-app/pull/11"},"issue":{"href":"https://api.github.com/repos/Integreat/integreat-react-native-app/issues/11"},"comments":{"href":"https://api.github.com/repos/Integreat/integreat-react-native-app/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Integreat/integreat-react-native-app/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/Integreat/integreat-react-native-app/statuses/447d86abeedc2bb2a49de36582e53e32663f7c6a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"klinzo"}}