{"action":"created","comment":{"url":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/comments/223277038","pull_request_review_id":162362084,"id":223277038,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzI3NzAzOA==","diff_hunk":"@@ -16,12 +16,12 @@ def __init__(self, db: Store, lims_api: lims.LimsAPI, invoice_obj: models.Invoic\n         self.customer_obj  = invoice_obj.customer\n \n     def prepare_contact_info(self, costcenter):\n-        msg = f'Could not open/generate invoice. Contact information missing in database for customer {self.customer_obj.internal_id}. See log files.'\n+        msg = f'Could not open/generate invoice. Contact information missing in Customer/User table for customer {self.customer_obj.internal_id}. See log files.'","path":"cg/meta/invoice.py","position":5,"original_position":5,"commit_id":"abe7116451575d1cf9b0990e920558e4134b2d8f","original_commit_id":"09d427cc114efb60a4f4ec71f45f37100736eccd","user":{"login":"mayabrandi","id":1306333,"node_id":"MDQ6VXNlcjEzMDYzMzM=","avatar_url":"https://avatars0.githubusercontent.com/u/1306333?v=4","gravatar_id":"","url":"https://api.github.com/users/mayabrandi","html_url":"https://github.com/mayabrandi","followers_url":"https://api.github.com/users/mayabrandi/followers","following_url":"https://api.github.com/users/mayabrandi/following{/other_user}","gists_url":"https://api.github.com/users/mayabrandi/gists{/gist_id}","starred_url":"https://api.github.com/users/mayabrandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayabrandi/subscriptions","organizations_url":"https://api.github.com/users/mayabrandi/orgs","repos_url":"https://api.github.com/users/mayabrandi/repos","events_url":"https://api.github.com/users/mayabrandi/events{/privacy}","received_events_url":"https://api.github.com/users/mayabrandi/received_events","type":"User","site_admin":false},"body":"Didn't remove that. Just specifyed wich tables could be missing data. Customer id is still there! ","created_at":"2018-10-08T08:07:01Z","updated_at":"2018-10-08T08:07:01Z","html_url":"https://github.com/Clinical-Genomics/cg/pull/211#discussion_r223277038","pull_request_url":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/211","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/comments/223277038"},"html":{"href":"https://github.com/Clinical-Genomics/cg/pull/211#discussion_r223277038"},"pull_request":{"href":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/211"}},"in_reply_to_id":223275901},"pull_request":{"url":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/211","id":221020274,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMDIwMjc0","html_url":"https://github.com/Clinical-Genomics/cg/pull/211","diff_url":"https://github.com/Clinical-Genomics/cg/pull/211.diff","patch_url":"https://github.com/Clinical-Genomics/cg/pull/211.patch","issue_url":"https://api.github.com/repos/Clinical-Genomics/cg/issues/211","number":211,"state":"open","locked":false,"title":"new find handler method user_by_cust","user":{"login":"mayabrandi","id":1306333,"node_id":"MDQ6VXNlcjEzMDYzMzM=","avatar_url":"https://avatars0.githubusercontent.com/u/1306333?v=4","gravatar_id":"","url":"https://api.github.com/users/mayabrandi","html_url":"https://github.com/mayabrandi","followers_url":"https://api.github.com/users/mayabrandi/followers","following_url":"https://api.github.com/users/mayabrandi/following{/other_user}","gists_url":"https://api.github.com/users/mayabrandi/gists{/gist_id}","starred_url":"https://api.github.com/users/mayabrandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayabrandi/subscriptions","organizations_url":"https://api.github.com/users/mayabrandi/orgs","repos_url":"https://api.github.com/users/mayabrandi/repos","events_url":"https://api.github.com/users/mayabrandi/events{/privacy}","received_events_url":"https://api.github.com/users/mayabrandi/received_events","type":"User","site_admin":false},"body":"Using new find handler method user_by_cust to get customer. More relyable to query by customer id than email","created_at":"2018-10-08T07:10:52Z","updated_at":"2018-10-08T08:07:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98481d76760c7cab01d6b644369a27eaaee4f3cb","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ingkebil","id":239608,"node_id":"MDQ6VXNlcjIzOTYwOA==","avatar_url":"https://avatars3.githubusercontent.com/u/239608?v=4","gravatar_id":"","url":"https://api.github.com/users/ingkebil","html_url":"https://github.com/ingkebil","followers_url":"https://api.github.com/users/ingkebil/followers","following_url":"https://api.github.com/users/ingkebil/following{/other_user}","gists_url":"https://api.github.com/users/ingkebil/gists{/gist_id}","starred_url":"https://api.github.com/users/ingkebil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingkebil/subscriptions","organizations_url":"https://api.github.com/users/ingkebil/orgs","repos_url":"https://api.github.com/users/ingkebil/repos","events_url":"https://api.github.com/users/ingkebil/events{/privacy}","received_events_url":"https://api.github.com/users/ingkebil/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/211/commits","review_comments_url":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/211/comments","review_comment_url":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Clinical-Genomics/cg/issues/211/comments","statuses_url":"https://api.github.com/repos/Clinical-Genomics/cg/statuses/abe7116451575d1cf9b0990e920558e4134b2d8f","head":{"label":"Clinical-Genomics:minor_change_in_err_msg","ref":"minor_change_in_err_msg","sha":"abe7116451575d1cf9b0990e920558e4134b2d8f","user":{"login":"Clinical-Genomics","id":6412433,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTI0MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/6412433?v=4","gravatar_id":"","url":"https://api.github.com/users/Clinical-Genomics","html_url":"https://github.com/Clinical-Genomics","followers_url":"https://api.github.com/users/Clinical-Genomics/followers","following_url":"https://api.github.com/users/Clinical-Genomics/following{/other_user}","gists_url":"https://api.github.com/users/Clinical-Genomics/gists{/gist_id}","starred_url":"https://api.github.com/users/Clinical-Genomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clinical-Genomics/subscriptions","organizations_url":"https://api.github.com/users/Clinical-Genomics/orgs","repos_url":"https://api.github.com/users/Clinical-Genomics/repos","events_url":"https://api.github.com/users/Clinical-Genomics/events{/privacy}","received_events_url":"https://api.github.com/users/Clinical-Genomics/received_events","type":"Organization","site_admin":false},"repo":{"id":82567026,"node_id":"MDEwOlJlcG9zaXRvcnk4MjU2NzAyNg==","name":"cg","full_name":"Clinical-Genomics/cg","private":false,"owner":{"login":"Clinical-Genomics","id":6412433,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTI0MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/6412433?v=4","gravatar_id":"","url":"https://api.github.com/users/Clinical-Genomics","html_url":"https://github.com/Clinical-Genomics","followers_url":"https://api.github.com/users/Clinical-Genomics/followers","following_url":"https://api.github.com/users/Clinical-Genomics/following{/other_user}","gists_url":"https://api.github.com/users/Clinical-Genomics/gists{/gist_id}","starred_url":"https://api.github.com/users/Clinical-Genomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clinical-Genomics/subscriptions","organizations_url":"https://api.github.com/users/Clinical-Genomics/orgs","repos_url":"https://api.github.com/users/Clinical-Genomics/repos","events_url":"https://api.github.com/users/Clinical-Genomics/events{/privacy}","received_events_url":"https://api.github.com/users/Clinical-Genomics/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Clinical-Genomics/cg","description":"Glue between Clinical Genomics apps","fork":false,"url":"https://api.github.com/repos/Clinical-Genomics/cg","forks_url":"https://api.github.com/repos/Clinical-Genomics/cg/forks","keys_url":"https://api.github.com/repos/Clinical-Genomics/cg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clinical-Genomics/cg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clinical-Genomics/cg/teams","hooks_url":"https://api.github.com/repos/Clinical-Genomics/cg/hooks","issue_events_url":"https://api.github.com/repos/Clinical-Genomics/cg/issues/events{/number}","events_url":"https://api.github.com/repos/Clinical-Genomics/cg/events","assignees_url":"https://api.github.com/repos/Clinical-Genomics/cg/assignees{/user}","branches_url":"https://api.github.com/repos/Clinical-Genomics/cg/branches{/branch}","tags_url":"https://api.github.com/repos/Clinical-Genomics/cg/tags","blobs_url":"https://api.github.com/repos/Clinical-Genomics/cg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clinical-Genomics/cg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clinical-Genomics/cg/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clinical-Genomics/cg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clinical-Genomics/cg/statuses/{sha}","languages_url":"https://api.github.com/repos/Clinical-Genomics/cg/languages","stargazers_url":"https://api.github.com/repos/Clinical-Genomics/cg/stargazers","contributors_url":"https://api.github.com/repos/Clinical-Genomics/cg/contributors","subscribers_url":"https://api.github.com/repos/Clinical-Genomics/cg/subscribers","subscription_url":"https://api.github.com/repos/Clinical-Genomics/cg/subscription","commits_url":"https://api.github.com/repos/Clinical-Genomics/cg/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clinical-Genomics/cg/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clinical-Genomics/cg/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clinical-Genomics/cg/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clinical-Genomics/cg/contents/{+path}","compare_url":"https://api.github.com/repos/Clinical-Genomics/cg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clinical-Genomics/cg/merges","archive_url":"https://api.github.com/repos/Clinical-Genomics/cg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clinical-Genomics/cg/downloads","issues_url":"https://api.github.com/repos/Clinical-Genomics/cg/issues{/number}","pulls_url":"https://api.github.com/repos/Clinical-Genomics/cg/pulls{/number}","milestones_url":"https://api.github.com/repos/Clinical-Genomics/cg/milestones{/number}","notifications_url":"https://api.github.com/repos/Clinical-Genomics/cg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clinical-Genomics/cg/labels{/name}","releases_url":"https://api.github.com/repos/Clinical-Genomics/cg/releases{/id}","deployments_url":"https://api.github.com/repos/Clinical-Genomics/cg/deployments","created_at":"2017-02-20T14:29:43Z","updated_at":"2018-10-08T06:09:41Z","pushed_at":"2018-10-08T08:03:15Z","git_url":"git://github.com/Clinical-Genomics/cg.git","ssh_url":"git@github.com:Clinical-Genomics/cg.git","clone_url":"https://github.com/Clinical-Genomics/cg.git","svn_url":"https://github.com/Clinical-Genomics/cg","homepage":null,"size":2250,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":57,"license":null,"forks":1,"open_issues":57,"watchers":0,"default_branch":"master"}},"base":{"label":"Clinical-Genomics:master","ref":"master","sha":"4fa01446dd58cbe27a29f784b40508f743acad03","user":{"login":"Clinical-Genomics","id":6412433,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTI0MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/6412433?v=4","gravatar_id":"","url":"https://api.github.com/users/Clinical-Genomics","html_url":"https://github.com/Clinical-Genomics","followers_url":"https://api.github.com/users/Clinical-Genomics/followers","following_url":"https://api.github.com/users/Clinical-Genomics/following{/other_user}","gists_url":"https://api.github.com/users/Clinical-Genomics/gists{/gist_id}","starred_url":"https://api.github.com/users/Clinical-Genomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clinical-Genomics/subscriptions","organizations_url":"https://api.github.com/users/Clinical-Genomics/orgs","repos_url":"https://api.github.com/users/Clinical-Genomics/repos","events_url":"https://api.github.com/users/Clinical-Genomics/events{/privacy}","received_events_url":"https://api.github.com/users/Clinical-Genomics/received_events","type":"Organization","site_admin":false},"repo":{"id":82567026,"node_id":"MDEwOlJlcG9zaXRvcnk4MjU2NzAyNg==","name":"cg","full_name":"Clinical-Genomics/cg","private":false,"owner":{"login":"Clinical-Genomics","id":6412433,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTI0MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/6412433?v=4","gravatar_id":"","url":"https://api.github.com/users/Clinical-Genomics","html_url":"https://github.com/Clinical-Genomics","followers_url":"https://api.github.com/users/Clinical-Genomics/followers","following_url":"https://api.github.com/users/Clinical-Genomics/following{/other_user}","gists_url":"https://api.github.com/users/Clinical-Genomics/gists{/gist_id}","starred_url":"https://api.github.com/users/Clinical-Genomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clinical-Genomics/subscriptions","organizations_url":"https://api.github.com/users/Clinical-Genomics/orgs","repos_url":"https://api.github.com/users/Clinical-Genomics/repos","events_url":"https://api.github.com/users/Clinical-Genomics/events{/privacy}","received_events_url":"https://api.github.com/users/Clinical-Genomics/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Clinical-Genomics/cg","description":"Glue between Clinical Genomics apps","fork":false,"url":"https://api.github.com/repos/Clinical-Genomics/cg","forks_url":"https://api.github.com/repos/Clinical-Genomics/cg/forks","keys_url":"https://api.github.com/repos/Clinical-Genomics/cg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clinical-Genomics/cg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clinical-Genomics/cg/teams","hooks_url":"https://api.github.com/repos/Clinical-Genomics/cg/hooks","issue_events_url":"https://api.github.com/repos/Clinical-Genomics/cg/issues/events{/number}","events_url":"https://api.github.com/repos/Clinical-Genomics/cg/events","assignees_url":"https://api.github.com/repos/Clinical-Genomics/cg/assignees{/user}","branches_url":"https://api.github.com/repos/Clinical-Genomics/cg/branches{/branch}","tags_url":"https://api.github.com/repos/Clinical-Genomics/cg/tags","blobs_url":"https://api.github.com/repos/Clinical-Genomics/cg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clinical-Genomics/cg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clinical-Genomics/cg/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clinical-Genomics/cg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clinical-Genomics/cg/statuses/{sha}","languages_url":"https://api.github.com/repos/Clinical-Genomics/cg/languages","stargazers_url":"https://api.github.com/repos/Clinical-Genomics/cg/stargazers","contributors_url":"https://api.github.com/repos/Clinical-Genomics/cg/contributors","subscribers_url":"https://api.github.com/repos/Clinical-Genomics/cg/subscribers","subscription_url":"https://api.github.com/repos/Clinical-Genomics/cg/subscription","commits_url":"https://api.github.com/repos/Clinical-Genomics/cg/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clinical-Genomics/cg/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clinical-Genomics/cg/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clinical-Genomics/cg/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clinical-Genomics/cg/contents/{+path}","compare_url":"https://api.github.com/repos/Clinical-Genomics/cg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clinical-Genomics/cg/merges","archive_url":"https://api.github.com/repos/Clinical-Genomics/cg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clinical-Genomics/cg/downloads","issues_url":"https://api.github.com/repos/Clinical-Genomics/cg/issues{/number}","pulls_url":"https://api.github.com/repos/Clinical-Genomics/cg/pulls{/number}","milestones_url":"https://api.github.com/repos/Clinical-Genomics/cg/milestones{/number}","notifications_url":"https://api.github.com/repos/Clinical-Genomics/cg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clinical-Genomics/cg/labels{/name}","releases_url":"https://api.github.com/repos/Clinical-Genomics/cg/releases{/id}","deployments_url":"https://api.github.com/repos/Clinical-Genomics/cg/deployments","created_at":"2017-02-20T14:29:43Z","updated_at":"2018-10-08T06:09:41Z","pushed_at":"2018-10-08T08:03:15Z","git_url":"git://github.com/Clinical-Genomics/cg.git","ssh_url":"git@github.com:Clinical-Genomics/cg.git","clone_url":"https://github.com/Clinical-Genomics/cg.git","svn_url":"https://github.com/Clinical-Genomics/cg","homepage":null,"size":2250,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":57,"license":null,"forks":1,"open_issues":57,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/211"},"html":{"href":"https://github.com/Clinical-Genomics/cg/pull/211"},"issue":{"href":"https://api.github.com/repos/Clinical-Genomics/cg/issues/211"},"comments":{"href":"https://api.github.com/repos/Clinical-Genomics/cg/issues/211/comments"},"review_comments":{"href":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/211/comments"},"review_comment":{"href":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Clinical-Genomics/cg/pulls/211/commits"},"statuses":{"href":"https://api.github.com/repos/Clinical-Genomics/cg/statuses/abe7116451575d1cf9b0990e920558e4134b2d8f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mayabrandi"}}