{"action":"created","comment":{"url":"https://api.github.com/repos/osuosl/timesync-node/pulls/comments/36476954","id":36476954,"diff_hunk":"@@ -92,7 +92,7 @@ module.exports = {\n     errorBadObjectInvalidField: function(objectType, fieldName, expectedType,\n     receivedType) {\n         return createError(400, 'Bad object', 'Field ' + fieldName + ' of ' +\n-            objectType + ' should be a ' + expectedType +\n+            objectType + ' should be ' + expectedType +","path":"src/errors.js","position":5,"original_position":5,"commit_id":"b96cd1a092d981f76acae997901c9a897bffc4c7","original_commit_id":"b96cd1a092d981f76acae997901c9a897bffc4c7","user":{"login":"tschuy","id":6532435,"avatar_url":"https://avatars.githubusercontent.com/u/6532435?v=3","gravatar_id":"","url":"https://api.github.com/users/tschuy","html_url":"https://github.com/tschuy","followers_url":"https://api.github.com/users/tschuy/followers","following_url":"https://api.github.com/users/tschuy/following{/other_user}","gists_url":"https://api.github.com/users/tschuy/gists{/gist_id}","starred_url":"https://api.github.com/users/tschuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschuy/subscriptions","organizations_url":"https://api.github.com/users/tschuy/orgs","repos_url":"https://api.github.com/users/tschuy/repos","events_url":"https://api.github.com/users/tschuy/events{/privacy}","received_events_url":"https://api.github.com/users/tschuy/received_events","type":"User","site_admin":false},"body":"If you change the error spec submit a PR for that too :P","created_at":"2015-08-06T23:08:24Z","updated_at":"2015-08-06T23:08:24Z","html_url":"https://github.com/osuosl/timesync-node/pull/90#discussion_r36476954","pull_request_url":"https://api.github.com/repos/osuosl/timesync-node/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/osuosl/timesync-node/pulls/comments/36476954"},"html":{"href":"https://github.com/osuosl/timesync-node/pull/90#discussion_r36476954"},"pull_request":{"href":"https://api.github.com/repos/osuosl/timesync-node/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/osuosl/timesync-node/pulls/90","id":41522619,"html_url":"https://github.com/osuosl/timesync-node/pull/90","diff_url":"https://github.com/osuosl/timesync-node/pull/90.diff","patch_url":"https://github.com/osuosl/timesync-node/pull/90.patch","issue_url":"https://api.github.com/repos/osuosl/timesync-node/issues/90","number":90,"state":"open","locked":false,"title":"Allow POST /times to create new time entries","user":{"login":"LyonesGamer","id":2058985,"avatar_url":"https://avatars.githubusercontent.com/u/2058985?v=3","gravatar_id":"","url":"https://api.github.com/users/LyonesGamer","html_url":"https://github.com/LyonesGamer","followers_url":"https://api.github.com/users/LyonesGamer/followers","following_url":"https://api.github.com/users/LyonesGamer/following{/other_user}","gists_url":"https://api.github.com/users/LyonesGamer/gists{/gist_id}","starred_url":"https://api.github.com/users/LyonesGamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LyonesGamer/subscriptions","organizations_url":"https://api.github.com/users/LyonesGamer/orgs","repos_url":"https://api.github.com/users/LyonesGamer/repos","events_url":"https://api.github.com/users/LyonesGamer/events{/privacy}","received_events_url":"https://api.github.com/users/LyonesGamer/received_events","type":"User","site_admin":false},"body":"Endpoint tests which wrap the existing tests for specific helper functions, and then implementation of actual POST function. Implementation of issue #59.","created_at":"2015-08-04T00:02:11Z","updated_at":"2015-08-06T23:08:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e4f97d58c4577677d1af7824397b6078d1e86a9","assignee":{"login":"LyonesGamer","id":2058985,"avatar_url":"https://avatars.githubusercontent.com/u/2058985?v=3","gravatar_id":"","url":"https://api.github.com/users/LyonesGamer","html_url":"https://github.com/LyonesGamer","followers_url":"https://api.github.com/users/LyonesGamer/followers","following_url":"https://api.github.com/users/LyonesGamer/following{/other_user}","gists_url":"https://api.github.com/users/LyonesGamer/gists{/gist_id}","starred_url":"https://api.github.com/users/LyonesGamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LyonesGamer/subscriptions","organizations_url":"https://api.github.com/users/LyonesGamer/orgs","repos_url":"https://api.github.com/users/LyonesGamer/repos","events_url":"https://api.github.com/users/LyonesGamer/events{/privacy}","received_events_url":"https://api.github.com/users/LyonesGamer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/osuosl/timesync-node/milestones/2","html_url":"https://github.com/osuosl/timesync-node/milestones/Sprint%202","labels_url":"https://api.github.com/repos/osuosl/timesync-node/milestones/2/labels","id":1239322,"number":2,"title":"Sprint 2","description":null,"creator":{"login":"ElijahCaine","id":1897147,"avatar_url":"https://avatars.githubusercontent.com/u/1897147?v=3","gravatar_id":"","url":"https://api.github.com/users/ElijahCaine","html_url":"https://github.com/ElijahCaine","followers_url":"https://api.github.com/users/ElijahCaine/followers","following_url":"https://api.github.com/users/ElijahCaine/following{/other_user}","gists_url":"https://api.github.com/users/ElijahCaine/gists{/gist_id}","starred_url":"https://api.github.com/users/ElijahCaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElijahCaine/subscriptions","organizations_url":"https://api.github.com/users/ElijahCaine/orgs","repos_url":"https://api.github.com/users/ElijahCaine/repos","events_url":"https://api.github.com/users/ElijahCaine/events{/privacy}","received_events_url":"https://api.github.com/users/ElijahCaine/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":2,"state":"open","created_at":"2015-08-03T23:07:39Z","updated_at":"2015-08-05T19:05:10Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/osuosl/timesync-node/pulls/90/commits","review_comments_url":"https://api.github.com/repos/osuosl/timesync-node/pulls/90/comments","review_comment_url":"https://api.github.com/repos/osuosl/timesync-node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osuosl/timesync-node/issues/90/comments","statuses_url":"https://api.github.com/repos/osuosl/timesync-node/statuses/b96cd1a092d981f76acae997901c9a897bffc4c7","head":{"label":"osuosl:post_new_time","ref":"post_new_time","sha":"b96cd1a092d981f76acae997901c9a897bffc4c7","user":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"repo":{"id":33685026,"name":"timesync-node","full_name":"osuosl/timesync-node","owner":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osuosl/timesync-node","description":"Time Tracking API","fork":false,"url":"https://api.github.com/repos/osuosl/timesync-node","forks_url":"https://api.github.com/repos/osuosl/timesync-node/forks","keys_url":"https://api.github.com/repos/osuosl/timesync-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osuosl/timesync-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osuosl/timesync-node/teams","hooks_url":"https://api.github.com/repos/osuosl/timesync-node/hooks","issue_events_url":"https://api.github.com/repos/osuosl/timesync-node/issues/events{/number}","events_url":"https://api.github.com/repos/osuosl/timesync-node/events","assignees_url":"https://api.github.com/repos/osuosl/timesync-node/assignees{/user}","branches_url":"https://api.github.com/repos/osuosl/timesync-node/branches{/branch}","tags_url":"https://api.github.com/repos/osuosl/timesync-node/tags","blobs_url":"https://api.github.com/repos/osuosl/timesync-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osuosl/timesync-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osuosl/timesync-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/osuosl/timesync-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osuosl/timesync-node/statuses/{sha}","languages_url":"https://api.github.com/repos/osuosl/timesync-node/languages","stargazers_url":"https://api.github.com/repos/osuosl/timesync-node/stargazers","contributors_url":"https://api.github.com/repos/osuosl/timesync-node/contributors","subscribers_url":"https://api.github.com/repos/osuosl/timesync-node/subscribers","subscription_url":"https://api.github.com/repos/osuosl/timesync-node/subscription","commits_url":"https://api.github.com/repos/osuosl/timesync-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/osuosl/timesync-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/osuosl/timesync-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/osuosl/timesync-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/osuosl/timesync-node/contents/{+path}","compare_url":"https://api.github.com/repos/osuosl/timesync-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osuosl/timesync-node/merges","archive_url":"https://api.github.com/repos/osuosl/timesync-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osuosl/timesync-node/downloads","issues_url":"https://api.github.com/repos/osuosl/timesync-node/issues{/number}","pulls_url":"https://api.github.com/repos/osuosl/timesync-node/pulls{/number}","milestones_url":"https://api.github.com/repos/osuosl/timesync-node/milestones{/number}","notifications_url":"https://api.github.com/repos/osuosl/timesync-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osuosl/timesync-node/labels{/name}","releases_url":"https://api.github.com/repos/osuosl/timesync-node/releases{/id}","created_at":"2015-04-09T18:20:54Z","updated_at":"2015-08-04T19:51:26Z","pushed_at":"2015-08-06T23:07:55Z","git_url":"git://github.com/osuosl/timesync-node.git","ssh_url":"git@github.com:osuosl/timesync-node.git","clone_url":"https://github.com/osuosl/timesync-node.git","svn_url":"https://github.com/osuosl/timesync-node","homepage":null,"size":1393,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":39,"forks":2,"open_issues":39,"watchers":1,"default_branch":"develop"}},"base":{"label":"osuosl:develop","ref":"develop","sha":"d79064f1252348589c4acfb38e6ad95c2985b937","user":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"repo":{"id":33685026,"name":"timesync-node","full_name":"osuosl/timesync-node","owner":{"login":"osuosl","id":1380625,"avatar_url":"https://avatars.githubusercontent.com/u/1380625?v=3","gravatar_id":"","url":"https://api.github.com/users/osuosl","html_url":"https://github.com/osuosl","followers_url":"https://api.github.com/users/osuosl/followers","following_url":"https://api.github.com/users/osuosl/following{/other_user}","gists_url":"https://api.github.com/users/osuosl/gists{/gist_id}","starred_url":"https://api.github.com/users/osuosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osuosl/subscriptions","organizations_url":"https://api.github.com/users/osuosl/orgs","repos_url":"https://api.github.com/users/osuosl/repos","events_url":"https://api.github.com/users/osuosl/events{/privacy}","received_events_url":"https://api.github.com/users/osuosl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osuosl/timesync-node","description":"Time Tracking API","fork":false,"url":"https://api.github.com/repos/osuosl/timesync-node","forks_url":"https://api.github.com/repos/osuosl/timesync-node/forks","keys_url":"https://api.github.com/repos/osuosl/timesync-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osuosl/timesync-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osuosl/timesync-node/teams","hooks_url":"https://api.github.com/repos/osuosl/timesync-node/hooks","issue_events_url":"https://api.github.com/repos/osuosl/timesync-node/issues/events{/number}","events_url":"https://api.github.com/repos/osuosl/timesync-node/events","assignees_url":"https://api.github.com/repos/osuosl/timesync-node/assignees{/user}","branches_url":"https://api.github.com/repos/osuosl/timesync-node/branches{/branch}","tags_url":"https://api.github.com/repos/osuosl/timesync-node/tags","blobs_url":"https://api.github.com/repos/osuosl/timesync-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osuosl/timesync-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osuosl/timesync-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/osuosl/timesync-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osuosl/timesync-node/statuses/{sha}","languages_url":"https://api.github.com/repos/osuosl/timesync-node/languages","stargazers_url":"https://api.github.com/repos/osuosl/timesync-node/stargazers","contributors_url":"https://api.github.com/repos/osuosl/timesync-node/contributors","subscribers_url":"https://api.github.com/repos/osuosl/timesync-node/subscribers","subscription_url":"https://api.github.com/repos/osuosl/timesync-node/subscription","commits_url":"https://api.github.com/repos/osuosl/timesync-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/osuosl/timesync-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/osuosl/timesync-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/osuosl/timesync-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/osuosl/timesync-node/contents/{+path}","compare_url":"https://api.github.com/repos/osuosl/timesync-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osuosl/timesync-node/merges","archive_url":"https://api.github.com/repos/osuosl/timesync-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osuosl/timesync-node/downloads","issues_url":"https://api.github.com/repos/osuosl/timesync-node/issues{/number}","pulls_url":"https://api.github.com/repos/osuosl/timesync-node/pulls{/number}","milestones_url":"https://api.github.com/repos/osuosl/timesync-node/milestones{/number}","notifications_url":"https://api.github.com/repos/osuosl/timesync-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osuosl/timesync-node/labels{/name}","releases_url":"https://api.github.com/repos/osuosl/timesync-node/releases{/id}","created_at":"2015-04-09T18:20:54Z","updated_at":"2015-08-04T19:51:26Z","pushed_at":"2015-08-06T23:07:55Z","git_url":"git://github.com/osuosl/timesync-node.git","ssh_url":"git@github.com:osuosl/timesync-node.git","clone_url":"https://github.com/osuosl/timesync-node.git","svn_url":"https://github.com/osuosl/timesync-node","homepage":null,"size":1393,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":39,"forks":2,"open_issues":39,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/osuosl/timesync-node/pulls/90"},"html":{"href":"https://github.com/osuosl/timesync-node/pull/90"},"issue":{"href":"https://api.github.com/repos/osuosl/timesync-node/issues/90"},"comments":{"href":"https://api.github.com/repos/osuosl/timesync-node/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/osuosl/timesync-node/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/osuosl/timesync-node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osuosl/timesync-node/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/osuosl/timesync-node/statuses/b96cd1a092d981f76acae997901c9a897bffc4c7"}}}}