{"action":"created","comment":{"url":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/comments/238094249","pull_request_review_id":180556994,"id":238094249,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODA5NDI0OQ==","diff_hunk":"@@ -1,135 +1,16 @@\n package ru.innopolis.stc12.booksharing.model.dao;\n \n-import org.apache.log4j.Logger;\n-import org.springframework.beans.factory.annotation.Autowired;\n-import org.springframework.dao.DataAccessException;\n-import org.springframework.jdbc.core.JdbcTemplate;\n-import org.springframework.security.core.Authentication;\n-import org.springframework.security.core.context.SecurityContext;\n-import org.springframework.security.core.context.SecurityContextHolder;\n-import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;\n import org.springframework.stereotype.Repository;\n-import ru.innopolis.stc12.booksharing.model.dao.mapper.UserDetailsMapper;\n-import ru.innopolis.stc12.booksharing.model.dao.mapper.UserMapper;\n-import ru.innopolis.stc12.booksharing.model.pojo.User;\n-import ru.innopolis.stc12.booksharing.model.pojo.UserDetails;\n-\n-import java.util.List;\n-import java.util.Objects;\n+import ru.innopolis.stc12.booksharing.model.dao.entity.User;\n+import ru.innopolis.stc12.booksharing.model.dao.interfaces.UserDao;\n \n @Repository\n-public class UserDaoImpl implements UserDao {\n-    private JdbcTemplate jdbcTemplate;\n-    private static Logger logger = Logger.getLogger(UserDaoImpl.class);\n-\n-    private static final int ROLE_USER_ID = 2;\n-    private static final int USER_ENABLED = 1;\n-    private static final String SQL_SELECT_BY_ID =\n-            \"select u.id, u.login, u.password, u.enabled, u.role_id, r.name as role_name from users as u inner join roles r on u.role_id = r.id where u.id=?\";\n-    private static final String SQL_SELECT_ALL =\n-            \"select u.id as u_id, u.login as u_login, u.password as u_password, u.enabled as u_enabled, r.id as r_id, r.name as r_name from users as u inner join roles r on u.role_id = r.id \";\n-    private static final String SQL_SELECT_BY_LOGIN =\n-            \"select u.id, u.login, u.password, u.enabled, u.role_id, r.name as role_name from users as u inner join roles r on u.role_id = r.id where u.login=?\";\n-    private static final String SQL_INSERT =\n-            \"insert into users (login, password, role_id, enabled) values (?,?,?,?)\";\n-    private static final String SQL_SELECT_USER_DETAILS =\n-            \"select d.id, d.user_id, d.firstname, d.surname, d.lastname, u.email, u.password from users as u inner join user_details as d on u.id = d.user_id where d.user_id = ?\";\n-    private static final String SQL_UPDATE_USER_DETAILS =\n-            \"update user_details set firstname=?, lastname=?, surname=? where user_id=?\";\n-\n-    @Autowired\n-    public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {\n-\n-        this.jdbcTemplate = jdbcTemplate;\n-    }\n-\n-    @Override\n-    public User getUserById(int id) {\n-        User user;\n-        try {\n-            user = jdbcTemplate.queryForObject(SQL_SELECT_BY_ID, new Object[]{id}, new UserMapper());\n-        } catch (DataAccessException daException) {\n-            logger.debug(\"User not found by id: \" + id);\n-            return null;\n-        }\n-        return user;\n-    }\n-\n-    @Override\n-    public List<User> getAllUsers() {\n-        logger.debug(\"Get all users\");\n-        return jdbcTemplate.query(SQL_SELECT_ALL, new UserMapper());\n-    }\n-\n+public class UserDaoImpl extends AbstractDaoImp implements UserDao {\n     @Override\n     public User getUserByLogin(String login) {\n-        logger.debug(\"Get user by login: \" + login);\n-        User user;\n-        try {\n-            user = jdbcTemplate.queryForObject(SQL_SELECT_BY_LOGIN, new Object[]{login}, new UserMapper());\n-        } catch (DataAccessException daException) {\n-            logger.debug(\"User not found: \" + login);\n-            return null;\n-        }\n-\n-        return user;\n-    }\n-\n-    @Override\n-    public UserDetails getUserDetails() {\n-        User currentUser;\n-        UserDetails authenticatedUserDetails = null;\n-\n-        try {\n-            String authenticatedUserLogin = Objects.requireNonNull(UserDaoImpl.getCurrentUserDetails()).getUsername();\n-            currentUser = getUserByLogin(authenticatedUserLogin);\n-\n-            authenticatedUserDetails = jdbcTemplate.queryForObject(\n-                    SQL_SELECT_USER_DETAILS,\n-                    new Object[]{currentUser.getId()},\n-                    new UserDetailsMapper());\n-        } catch (NullPointerException | DataAccessException e) {\n-            logger.error(\"Cannot find authenticated user details\");\n-        }\n-\n-        return authenticatedUserDetails;\n-    }\n-\n-\n-    /**\n-     * Get authenticated user from session helper\n-     *\n-     * @return User\n-     */\n-    private static org.springframework.security.core.userdetails.User getCurrentUserDetails(){\n-        SecurityContext securityContext = SecurityContextHolder.getContext();\n-        Authentication authentication = securityContext.getAuthentication();\n-        if (authentication != null) {\n-            return (org.springframework.security.core.userdetails.User) authentication.getPrincipal();\n-        }\n-        return null;\n-    }\n-\n-    @Override\n-    public User addUser(String login, String passwordHash) {\n-        logger.debug(\"Insert User login = \" + login);\n-        jdbcTemplate.update(SQL_INSERT, login, passwordHash, ROLE_USER_ID, USER_ENABLED);\n-        return getUserByLogin(login);\n-    }\n-\n-    @Override\n-    public boolean checkUserPasswordMatches(String currentPassword, String password) {\n-        BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();\n-        return bCryptPasswordEncoder.matches(password, currentPassword);\n-    }\n-\n-    @Override\n-    public boolean updateUserDetails(UserDetails userDetails) {\n-        int rows = jdbcTemplate.update(SQL_UPDATE_USER_DETAILS,\n-                userDetails.getFirstName(),\n-                userDetails.getLastName(),\n-                userDetails.getSurname(),\n-                userDetails.getUserId());\n-        return rows > 0;\n+        return (User)getCurrentSession()","path":"src/main/java/ru/innopolis/stc12/booksharing/model/dao/UserDaoImpl.java","position":137,"original_position":137,"commit_id":"0f6d63c43c9159b3a1330f8569c61efe103d4b9a","original_commit_id":"0f6d63c43c9159b3a1330f8569c61efe103d4b9a","user":{"login":"svdovin","id":42582906,"node_id":"MDQ6VXNlcjQyNTgyOTA2","avatar_url":"https://avatars0.githubusercontent.com/u/42582906?v=4","gravatar_id":"","url":"https://api.github.com/users/svdovin","html_url":"https://github.com/svdovin","followers_url":"https://api.github.com/users/svdovin/followers","following_url":"https://api.github.com/users/svdovin/following{/other_user}","gists_url":"https://api.github.com/users/svdovin/gists{/gist_id}","starred_url":"https://api.github.com/users/svdovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svdovin/subscriptions","organizations_url":"https://api.github.com/users/svdovin/orgs","repos_url":"https://api.github.com/users/svdovin/repos","events_url":"https://api.github.com/users/svdovin/events{/privacy}","received_events_url":"https://api.github.com/users/svdovin/received_events","type":"User","site_admin":false},"body":"Это я раньше сделал. У Раиля круче, исправил.","created_at":"2018-12-02T11:16:49Z","updated_at":"2018-12-02T11:16:49Z","html_url":"https://github.com/STC12-team/BookSharingProject/pull/173#discussion_r238094249","pull_request_url":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/173","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/comments/238094249"},"html":{"href":"https://github.com/STC12-team/BookSharingProject/pull/173#discussion_r238094249"},"pull_request":{"href":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/173"}},"in_reply_to_id":238088388},"pull_request":{"url":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/173","id":234429550,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NDI5NTUw","html_url":"https://github.com/STC12-team/BookSharingProject/pull/173","diff_url":"https://github.com/STC12-team/BookSharingProject/pull/173.diff","patch_url":"https://github.com/STC12-team/BookSharingProject/pull/173.patch","issue_url":"https://api.github.com/repos/STC12-team/BookSharingProject/issues/173","number":173,"state":"open","locked":false,"title":"Abstract Hibernate Dao","user":{"login":"svdovin","id":42582906,"node_id":"MDQ6VXNlcjQyNTgyOTA2","avatar_url":"https://avatars0.githubusercontent.com/u/42582906?v=4","gravatar_id":"","url":"https://api.github.com/users/svdovin","html_url":"https://github.com/svdovin","followers_url":"https://api.github.com/users/svdovin/followers","following_url":"https://api.github.com/users/svdovin/following{/other_user}","gists_url":"https://api.github.com/users/svdovin/gists{/gist_id}","starred_url":"https://api.github.com/users/svdovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svdovin/subscriptions","organizations_url":"https://api.github.com/users/svdovin/orgs","repos_url":"https://api.github.com/users/svdovin/repos","events_url":"https://api.github.com/users/svdovin/events{/privacy}","received_events_url":"https://api.github.com/users/svdovin/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-28T21:26:57Z","updated_at":"2018-12-02T11:16:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd29911dcbb6782945968f0b1249f6384ec4d6fd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/173/commits","review_comments_url":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/173/comments","review_comment_url":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/STC12-team/BookSharingProject/issues/173/comments","statuses_url":"https://api.github.com/repos/STC12-team/BookSharingProject/statuses/0f6d63c43c9159b3a1330f8569c61efe103d4b9a","head":{"label":"STC12-team:feature/issue-154","ref":"feature/issue-154","sha":"0f6d63c43c9159b3a1330f8569c61efe103d4b9a","user":{"login":"STC12-team","id":44242588,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MjQyNTg4","avatar_url":"https://avatars2.githubusercontent.com/u/44242588?v=4","gravatar_id":"","url":"https://api.github.com/users/STC12-team","html_url":"https://github.com/STC12-team","followers_url":"https://api.github.com/users/STC12-team/followers","following_url":"https://api.github.com/users/STC12-team/following{/other_user}","gists_url":"https://api.github.com/users/STC12-team/gists{/gist_id}","starred_url":"https://api.github.com/users/STC12-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STC12-team/subscriptions","organizations_url":"https://api.github.com/users/STC12-team/orgs","repos_url":"https://api.github.com/users/STC12-team/repos","events_url":"https://api.github.com/users/STC12-team/events{/privacy}","received_events_url":"https://api.github.com/users/STC12-team/received_events","type":"Organization","site_admin":false},"repo":{"id":153820645,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM4MjA2NDU=","name":"BookSharingProject","full_name":"STC12-team/BookSharingProject","private":false,"owner":{"login":"STC12-team","id":44242588,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MjQyNTg4","avatar_url":"https://avatars2.githubusercontent.com/u/44242588?v=4","gravatar_id":"","url":"https://api.github.com/users/STC12-team","html_url":"https://github.com/STC12-team","followers_url":"https://api.github.com/users/STC12-team/followers","following_url":"https://api.github.com/users/STC12-team/following{/other_user}","gists_url":"https://api.github.com/users/STC12-team/gists{/gist_id}","starred_url":"https://api.github.com/users/STC12-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STC12-team/subscriptions","organizations_url":"https://api.github.com/users/STC12-team/orgs","repos_url":"https://api.github.com/users/STC12-team/repos","events_url":"https://api.github.com/users/STC12-team/events{/privacy}","received_events_url":"https://api.github.com/users/STC12-team/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/STC12-team/BookSharingProject","description":null,"fork":false,"url":"https://api.github.com/repos/STC12-team/BookSharingProject","forks_url":"https://api.github.com/repos/STC12-team/BookSharingProject/forks","keys_url":"https://api.github.com/repos/STC12-team/BookSharingProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/STC12-team/BookSharingProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/STC12-team/BookSharingProject/teams","hooks_url":"https://api.github.com/repos/STC12-team/BookSharingProject/hooks","issue_events_url":"https://api.github.com/repos/STC12-team/BookSharingProject/issues/events{/number}","events_url":"https://api.github.com/repos/STC12-team/BookSharingProject/events","assignees_url":"https://api.github.com/repos/STC12-team/BookSharingProject/assignees{/user}","branches_url":"https://api.github.com/repos/STC12-team/BookSharingProject/branches{/branch}","tags_url":"https://api.github.com/repos/STC12-team/BookSharingProject/tags","blobs_url":"https://api.github.com/repos/STC12-team/BookSharingProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/STC12-team/BookSharingProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/STC12-team/BookSharingProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/STC12-team/BookSharingProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/STC12-team/BookSharingProject/statuses/{sha}","languages_url":"https://api.github.com/repos/STC12-team/BookSharingProject/languages","stargazers_url":"https://api.github.com/repos/STC12-team/BookSharingProject/stargazers","contributors_url":"https://api.github.com/repos/STC12-team/BookSharingProject/contributors","subscribers_url":"https://api.github.com/repos/STC12-team/BookSharingProject/subscribers","subscription_url":"https://api.github.com/repos/STC12-team/BookSharingProject/subscription","commits_url":"https://api.github.com/repos/STC12-team/BookSharingProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/STC12-team/BookSharingProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/STC12-team/BookSharingProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/STC12-team/BookSharingProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/STC12-team/BookSharingProject/contents/{+path}","compare_url":"https://api.github.com/repos/STC12-team/BookSharingProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/STC12-team/BookSharingProject/merges","archive_url":"https://api.github.com/repos/STC12-team/BookSharingProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/STC12-team/BookSharingProject/downloads","issues_url":"https://api.github.com/repos/STC12-team/BookSharingProject/issues{/number}","pulls_url":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls{/number}","milestones_url":"https://api.github.com/repos/STC12-team/BookSharingProject/milestones{/number}","notifications_url":"https://api.github.com/repos/STC12-team/BookSharingProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/STC12-team/BookSharingProject/labels{/name}","releases_url":"https://api.github.com/repos/STC12-team/BookSharingProject/releases{/id}","deployments_url":"https://api.github.com/repos/STC12-team/BookSharingProject/deployments","created_at":"2018-10-19T17:45:57Z","updated_at":"2018-12-01T16:19:16Z","pushed_at":"2018-12-01T21:38:10Z","git_url":"git://github.com/STC12-team/BookSharingProject.git","ssh_url":"git@github.com:STC12-team/BookSharingProject.git","clone_url":"https://github.com/STC12-team/BookSharingProject.git","svn_url":"https://github.com/STC12-team/BookSharingProject","homepage":null,"size":593,"stargazers_count":4,"watchers_count":4,"language":"Java","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":67,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":67,"watchers":4,"default_branch":"develop"}},"base":{"label":"STC12-team:develop","ref":"develop","sha":"b5a1f7c94b552cd2380d18af246c534cbc7de109","user":{"login":"STC12-team","id":44242588,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MjQyNTg4","avatar_url":"https://avatars2.githubusercontent.com/u/44242588?v=4","gravatar_id":"","url":"https://api.github.com/users/STC12-team","html_url":"https://github.com/STC12-team","followers_url":"https://api.github.com/users/STC12-team/followers","following_url":"https://api.github.com/users/STC12-team/following{/other_user}","gists_url":"https://api.github.com/users/STC12-team/gists{/gist_id}","starred_url":"https://api.github.com/users/STC12-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STC12-team/subscriptions","organizations_url":"https://api.github.com/users/STC12-team/orgs","repos_url":"https://api.github.com/users/STC12-team/repos","events_url":"https://api.github.com/users/STC12-team/events{/privacy}","received_events_url":"https://api.github.com/users/STC12-team/received_events","type":"Organization","site_admin":false},"repo":{"id":153820645,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM4MjA2NDU=","name":"BookSharingProject","full_name":"STC12-team/BookSharingProject","private":false,"owner":{"login":"STC12-team","id":44242588,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MjQyNTg4","avatar_url":"https://avatars2.githubusercontent.com/u/44242588?v=4","gravatar_id":"","url":"https://api.github.com/users/STC12-team","html_url":"https://github.com/STC12-team","followers_url":"https://api.github.com/users/STC12-team/followers","following_url":"https://api.github.com/users/STC12-team/following{/other_user}","gists_url":"https://api.github.com/users/STC12-team/gists{/gist_id}","starred_url":"https://api.github.com/users/STC12-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STC12-team/subscriptions","organizations_url":"https://api.github.com/users/STC12-team/orgs","repos_url":"https://api.github.com/users/STC12-team/repos","events_url":"https://api.github.com/users/STC12-team/events{/privacy}","received_events_url":"https://api.github.com/users/STC12-team/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/STC12-team/BookSharingProject","description":null,"fork":false,"url":"https://api.github.com/repos/STC12-team/BookSharingProject","forks_url":"https://api.github.com/repos/STC12-team/BookSharingProject/forks","keys_url":"https://api.github.com/repos/STC12-team/BookSharingProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/STC12-team/BookSharingProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/STC12-team/BookSharingProject/teams","hooks_url":"https://api.github.com/repos/STC12-team/BookSharingProject/hooks","issue_events_url":"https://api.github.com/repos/STC12-team/BookSharingProject/issues/events{/number}","events_url":"https://api.github.com/repos/STC12-team/BookSharingProject/events","assignees_url":"https://api.github.com/repos/STC12-team/BookSharingProject/assignees{/user}","branches_url":"https://api.github.com/repos/STC12-team/BookSharingProject/branches{/branch}","tags_url":"https://api.github.com/repos/STC12-team/BookSharingProject/tags","blobs_url":"https://api.github.com/repos/STC12-team/BookSharingProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/STC12-team/BookSharingProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/STC12-team/BookSharingProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/STC12-team/BookSharingProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/STC12-team/BookSharingProject/statuses/{sha}","languages_url":"https://api.github.com/repos/STC12-team/BookSharingProject/languages","stargazers_url":"https://api.github.com/repos/STC12-team/BookSharingProject/stargazers","contributors_url":"https://api.github.com/repos/STC12-team/BookSharingProject/contributors","subscribers_url":"https://api.github.com/repos/STC12-team/BookSharingProject/subscribers","subscription_url":"https://api.github.com/repos/STC12-team/BookSharingProject/subscription","commits_url":"https://api.github.com/repos/STC12-team/BookSharingProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/STC12-team/BookSharingProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/STC12-team/BookSharingProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/STC12-team/BookSharingProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/STC12-team/BookSharingProject/contents/{+path}","compare_url":"https://api.github.com/repos/STC12-team/BookSharingProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/STC12-team/BookSharingProject/merges","archive_url":"https://api.github.com/repos/STC12-team/BookSharingProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/STC12-team/BookSharingProject/downloads","issues_url":"https://api.github.com/repos/STC12-team/BookSharingProject/issues{/number}","pulls_url":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls{/number}","milestones_url":"https://api.github.com/repos/STC12-team/BookSharingProject/milestones{/number}","notifications_url":"https://api.github.com/repos/STC12-team/BookSharingProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/STC12-team/BookSharingProject/labels{/name}","releases_url":"https://api.github.com/repos/STC12-team/BookSharingProject/releases{/id}","deployments_url":"https://api.github.com/repos/STC12-team/BookSharingProject/deployments","created_at":"2018-10-19T17:45:57Z","updated_at":"2018-12-01T16:19:16Z","pushed_at":"2018-12-01T21:38:10Z","git_url":"git://github.com/STC12-team/BookSharingProject.git","ssh_url":"git@github.com:STC12-team/BookSharingProject.git","clone_url":"https://github.com/STC12-team/BookSharingProject.git","svn_url":"https://github.com/STC12-team/BookSharingProject","homepage":null,"size":593,"stargazers_count":4,"watchers_count":4,"language":"Java","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":67,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":67,"watchers":4,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/173"},"html":{"href":"https://github.com/STC12-team/BookSharingProject/pull/173"},"issue":{"href":"https://api.github.com/repos/STC12-team/BookSharingProject/issues/173"},"comments":{"href":"https://api.github.com/repos/STC12-team/BookSharingProject/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/STC12-team/BookSharingProject/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/STC12-team/BookSharingProject/statuses/0f6d63c43c9159b3a1330f8569c61efe103d4b9a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"svdovin"}}