{"action":"created","comment":{"url":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/comments/240623125","pull_request_review_id":183604912,"id":240623125,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDYyMzEyNQ==","diff_hunk":"@@ -1,49 +1,64 @@\n import { HttpClient } from '@angular/common/http';\n import { Injectable } from '@angular/core';\n import { Observable } from 'rxjs';\n+import { catchError } from 'rxjs/operators';\n \n-import { Category, Product } from '../classes';\n+import { Product } from '../classes';\n import { ENDPOINTS } from '../constants';\n+import { GlobalErrorHandler } from '../global-error-handler';\n \n @Injectable({\n   providedIn: 'root'\n })\n export class ProductService {\n \n-  public item;\n+  public item: Product;\n   public categories;","path":"src/app/services/product.service.ts","position":18,"original_position":18,"commit_id":"b249fcc9af5f373116c51dbc162264d8b71f17f2","original_commit_id":"b249fcc9af5f373116c51dbc162264d8b71f17f2","user":{"login":"NessInesska","id":38314470,"node_id":"MDQ6VXNlcjM4MzE0NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/38314470?v=4","gravatar_id":"","url":"https://api.github.com/users/NessInesska","html_url":"https://github.com/NessInesska","followers_url":"https://api.github.com/users/NessInesska/followers","following_url":"https://api.github.com/users/NessInesska/following{/other_user}","gists_url":"https://api.github.com/users/NessInesska/gists{/gist_id}","starred_url":"https://api.github.com/users/NessInesska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NessInesska/subscriptions","organizations_url":"https://api.github.com/users/NessInesska/orgs","repos_url":"https://api.github.com/users/NessInesska/repos","events_url":"https://api.github.com/users/NessInesska/events{/privacy}","received_events_url":"https://api.github.com/users/NessInesska/received_events","type":"User","site_admin":false},"body":"type","created_at":"2018-12-11T14:08:20Z","updated_at":"2018-12-11T14:09:06Z","html_url":"https://github.com/NessInesska/a2-learning-task/pull/30#discussion_r240623125","pull_request_url":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/30","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/comments/240623125"},"html":{"href":"https://github.com/NessInesska/a2-learning-task/pull/30#discussion_r240623125"},"pull_request":{"href":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/30","id":236656947,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NjU2OTQ3","html_url":"https://github.com/NessInesska/a2-learning-task/pull/30","diff_url":"https://github.com/NessInesska/a2-learning-task/pull/30.diff","patch_url":"https://github.com/NessInesska/a2-learning-task/pull/30.patch","issue_url":"https://api.github.com/repos/NessInesska/a2-learning-task/issues/30","number":30,"state":"open","locked":false,"title":"Project architecture and refactoring","user":{"login":"NessInesska","id":38314470,"node_id":"MDQ6VXNlcjM4MzE0NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/38314470?v=4","gravatar_id":"","url":"https://api.github.com/users/NessInesska","html_url":"https://github.com/NessInesska","followers_url":"https://api.github.com/users/NessInesska/followers","following_url":"https://api.github.com/users/NessInesska/following{/other_user}","gists_url":"https://api.github.com/users/NessInesska/gists{/gist_id}","starred_url":"https://api.github.com/users/NessInesska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NessInesska/subscriptions","organizations_url":"https://api.github.com/users/NessInesska/orgs","repos_url":"https://api.github.com/users/NessInesska/repos","events_url":"https://api.github.com/users/NessInesska/events{/privacy}","received_events_url":"https://api.github.com/users/NessInesska/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-06T20:11:02Z","updated_at":"2018-12-11T14:09:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0de0ac53114f6bbbd03fb6910c3d3fbd9c0701b5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/30/commits","review_comments_url":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/30/comments","review_comment_url":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NessInesska/a2-learning-task/issues/30/comments","statuses_url":"https://api.github.com/repos/NessInesska/a2-learning-task/statuses/b249fcc9af5f373116c51dbc162264d8b71f17f2","head":{"label":"NessInesska:project-architecture","ref":"project-architecture","sha":"b249fcc9af5f373116c51dbc162264d8b71f17f2","user":{"login":"NessInesska","id":38314470,"node_id":"MDQ6VXNlcjM4MzE0NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/38314470?v=4","gravatar_id":"","url":"https://api.github.com/users/NessInesska","html_url":"https://github.com/NessInesska","followers_url":"https://api.github.com/users/NessInesska/followers","following_url":"https://api.github.com/users/NessInesska/following{/other_user}","gists_url":"https://api.github.com/users/NessInesska/gists{/gist_id}","starred_url":"https://api.github.com/users/NessInesska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NessInesska/subscriptions","organizations_url":"https://api.github.com/users/NessInesska/orgs","repos_url":"https://api.github.com/users/NessInesska/repos","events_url":"https://api.github.com/users/NessInesska/events{/privacy}","received_events_url":"https://api.github.com/users/NessInesska/received_events","type":"User","site_admin":false},"repo":{"id":152058052,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIwNTgwNTI=","name":"a2-learning-task","full_name":"NessInesska/a2-learning-task","private":false,"owner":{"login":"NessInesska","id":38314470,"node_id":"MDQ6VXNlcjM4MzE0NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/38314470?v=4","gravatar_id":"","url":"https://api.github.com/users/NessInesska","html_url":"https://github.com/NessInesska","followers_url":"https://api.github.com/users/NessInesska/followers","following_url":"https://api.github.com/users/NessInesska/following{/other_user}","gists_url":"https://api.github.com/users/NessInesska/gists{/gist_id}","starred_url":"https://api.github.com/users/NessInesska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NessInesska/subscriptions","organizations_url":"https://api.github.com/users/NessInesska/orgs","repos_url":"https://api.github.com/users/NessInesska/repos","events_url":"https://api.github.com/users/NessInesska/events{/privacy}","received_events_url":"https://api.github.com/users/NessInesska/received_events","type":"User","site_admin":false},"html_url":"https://github.com/NessInesska/a2-learning-task","description":"Demo shop to learn angular 6","fork":false,"url":"https://api.github.com/repos/NessInesska/a2-learning-task","forks_url":"https://api.github.com/repos/NessInesska/a2-learning-task/forks","keys_url":"https://api.github.com/repos/NessInesska/a2-learning-task/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NessInesska/a2-learning-task/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NessInesska/a2-learning-task/teams","hooks_url":"https://api.github.com/repos/NessInesska/a2-learning-task/hooks","issue_events_url":"https://api.github.com/repos/NessInesska/a2-learning-task/issues/events{/number}","events_url":"https://api.github.com/repos/NessInesska/a2-learning-task/events","assignees_url":"https://api.github.com/repos/NessInesska/a2-learning-task/assignees{/user}","branches_url":"https://api.github.com/repos/NessInesska/a2-learning-task/branches{/branch}","tags_url":"https://api.github.com/repos/NessInesska/a2-learning-task/tags","blobs_url":"https://api.github.com/repos/NessInesska/a2-learning-task/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NessInesska/a2-learning-task/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NessInesska/a2-learning-task/git/refs{/sha}","trees_url":"https://api.github.com/repos/NessInesska/a2-learning-task/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NessInesska/a2-learning-task/statuses/{sha}","languages_url":"https://api.github.com/repos/NessInesska/a2-learning-task/languages","stargazers_url":"https://api.github.com/repos/NessInesska/a2-learning-task/stargazers","contributors_url":"https://api.github.com/repos/NessInesska/a2-learning-task/contributors","subscribers_url":"https://api.github.com/repos/NessInesska/a2-learning-task/subscribers","subscription_url":"https://api.github.com/repos/NessInesska/a2-learning-task/subscription","commits_url":"https://api.github.com/repos/NessInesska/a2-learning-task/commits{/sha}","git_commits_url":"https://api.github.com/repos/NessInesska/a2-learning-task/git/commits{/sha}","comments_url":"https://api.github.com/repos/NessInesska/a2-learning-task/comments{/number}","issue_comment_url":"https://api.github.com/repos/NessInesska/a2-learning-task/issues/comments{/number}","contents_url":"https://api.github.com/repos/NessInesska/a2-learning-task/contents/{+path}","compare_url":"https://api.github.com/repos/NessInesska/a2-learning-task/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NessInesska/a2-learning-task/merges","archive_url":"https://api.github.com/repos/NessInesska/a2-learning-task/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NessInesska/a2-learning-task/downloads","issues_url":"https://api.github.com/repos/NessInesska/a2-learning-task/issues{/number}","pulls_url":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls{/number}","milestones_url":"https://api.github.com/repos/NessInesska/a2-learning-task/milestones{/number}","notifications_url":"https://api.github.com/repos/NessInesska/a2-learning-task/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NessInesska/a2-learning-task/labels{/name}","releases_url":"https://api.github.com/repos/NessInesska/a2-learning-task/releases{/id}","deployments_url":"https://api.github.com/repos/NessInesska/a2-learning-task/deployments","created_at":"2018-10-08T10:04:30Z","updated_at":"2018-12-05T16:26:49Z","pushed_at":"2018-12-11T10:13:47Z","git_url":"git://github.com/NessInesska/a2-learning-task.git","ssh_url":"git@github.com:NessInesska/a2-learning-task.git","clone_url":"https://github.com/NessInesska/a2-learning-task.git","svn_url":"https://github.com/NessInesska/a2-learning-task","homepage":"","size":385,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"NessInesska:master","ref":"master","sha":"566f039c40f38a002aef1c946799ec92fa1fa727","user":{"login":"NessInesska","id":38314470,"node_id":"MDQ6VXNlcjM4MzE0NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/38314470?v=4","gravatar_id":"","url":"https://api.github.com/users/NessInesska","html_url":"https://github.com/NessInesska","followers_url":"https://api.github.com/users/NessInesska/followers","following_url":"https://api.github.com/users/NessInesska/following{/other_user}","gists_url":"https://api.github.com/users/NessInesska/gists{/gist_id}","starred_url":"https://api.github.com/users/NessInesska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NessInesska/subscriptions","organizations_url":"https://api.github.com/users/NessInesska/orgs","repos_url":"https://api.github.com/users/NessInesska/repos","events_url":"https://api.github.com/users/NessInesska/events{/privacy}","received_events_url":"https://api.github.com/users/NessInesska/received_events","type":"User","site_admin":false},"repo":{"id":152058052,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIwNTgwNTI=","name":"a2-learning-task","full_name":"NessInesska/a2-learning-task","private":false,"owner":{"login":"NessInesska","id":38314470,"node_id":"MDQ6VXNlcjM4MzE0NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/38314470?v=4","gravatar_id":"","url":"https://api.github.com/users/NessInesska","html_url":"https://github.com/NessInesska","followers_url":"https://api.github.com/users/NessInesska/followers","following_url":"https://api.github.com/users/NessInesska/following{/other_user}","gists_url":"https://api.github.com/users/NessInesska/gists{/gist_id}","starred_url":"https://api.github.com/users/NessInesska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NessInesska/subscriptions","organizations_url":"https://api.github.com/users/NessInesska/orgs","repos_url":"https://api.github.com/users/NessInesska/repos","events_url":"https://api.github.com/users/NessInesska/events{/privacy}","received_events_url":"https://api.github.com/users/NessInesska/received_events","type":"User","site_admin":false},"html_url":"https://github.com/NessInesska/a2-learning-task","description":"Demo shop to learn angular 6","fork":false,"url":"https://api.github.com/repos/NessInesska/a2-learning-task","forks_url":"https://api.github.com/repos/NessInesska/a2-learning-task/forks","keys_url":"https://api.github.com/repos/NessInesska/a2-learning-task/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NessInesska/a2-learning-task/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NessInesska/a2-learning-task/teams","hooks_url":"https://api.github.com/repos/NessInesska/a2-learning-task/hooks","issue_events_url":"https://api.github.com/repos/NessInesska/a2-learning-task/issues/events{/number}","events_url":"https://api.github.com/repos/NessInesska/a2-learning-task/events","assignees_url":"https://api.github.com/repos/NessInesska/a2-learning-task/assignees{/user}","branches_url":"https://api.github.com/repos/NessInesska/a2-learning-task/branches{/branch}","tags_url":"https://api.github.com/repos/NessInesska/a2-learning-task/tags","blobs_url":"https://api.github.com/repos/NessInesska/a2-learning-task/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NessInesska/a2-learning-task/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NessInesska/a2-learning-task/git/refs{/sha}","trees_url":"https://api.github.com/repos/NessInesska/a2-learning-task/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NessInesska/a2-learning-task/statuses/{sha}","languages_url":"https://api.github.com/repos/NessInesska/a2-learning-task/languages","stargazers_url":"https://api.github.com/repos/NessInesska/a2-learning-task/stargazers","contributors_url":"https://api.github.com/repos/NessInesska/a2-learning-task/contributors","subscribers_url":"https://api.github.com/repos/NessInesska/a2-learning-task/subscribers","subscription_url":"https://api.github.com/repos/NessInesska/a2-learning-task/subscription","commits_url":"https://api.github.com/repos/NessInesska/a2-learning-task/commits{/sha}","git_commits_url":"https://api.github.com/repos/NessInesska/a2-learning-task/git/commits{/sha}","comments_url":"https://api.github.com/repos/NessInesska/a2-learning-task/comments{/number}","issue_comment_url":"https://api.github.com/repos/NessInesska/a2-learning-task/issues/comments{/number}","contents_url":"https://api.github.com/repos/NessInesska/a2-learning-task/contents/{+path}","compare_url":"https://api.github.com/repos/NessInesska/a2-learning-task/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NessInesska/a2-learning-task/merges","archive_url":"https://api.github.com/repos/NessInesska/a2-learning-task/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NessInesska/a2-learning-task/downloads","issues_url":"https://api.github.com/repos/NessInesska/a2-learning-task/issues{/number}","pulls_url":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls{/number}","milestones_url":"https://api.github.com/repos/NessInesska/a2-learning-task/milestones{/number}","notifications_url":"https://api.github.com/repos/NessInesska/a2-learning-task/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NessInesska/a2-learning-task/labels{/name}","releases_url":"https://api.github.com/repos/NessInesska/a2-learning-task/releases{/id}","deployments_url":"https://api.github.com/repos/NessInesska/a2-learning-task/deployments","created_at":"2018-10-08T10:04:30Z","updated_at":"2018-12-05T16:26:49Z","pushed_at":"2018-12-11T10:13:47Z","git_url":"git://github.com/NessInesska/a2-learning-task.git","ssh_url":"git@github.com:NessInesska/a2-learning-task.git","clone_url":"https://github.com/NessInesska/a2-learning-task.git","svn_url":"https://github.com/NessInesska/a2-learning-task","homepage":"","size":385,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/30"},"html":{"href":"https://github.com/NessInesska/a2-learning-task/pull/30"},"issue":{"href":"https://api.github.com/repos/NessInesska/a2-learning-task/issues/30"},"comments":{"href":"https://api.github.com/repos/NessInesska/a2-learning-task/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NessInesska/a2-learning-task/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/NessInesska/a2-learning-task/statuses/b249fcc9af5f373116c51dbc162264d8b71f17f2"}},"author_association":"OWNER"}}
{"actor":{"display_login":"NessInesska"}}