{"action":"created","comment":{"url":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/comments/235961522","pull_request_review_id":177952564,"id":235961522,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTk2MTUyMg==","diff_hunk":"@@ -0,0 +1,28 @@\n+var Router = require('restify-router').Router;;\n+var SOBalanceManager = require('bateeq-module').inventory.StockOpnameBalanceManager;\n+var db = require('../../../db');\n+var resultFormatter = require(\"../../../result-formatter\");\n+var passport = require('../../../passports/jwt-passport');\n+const apiVersion = '1.0.0';\n+\n+function getRouter() {\n+    var router = new Router();\n+    router.get('/storage/:code', passport, (request, response, next) => {","path":"src/routers/v1/inventory/stock-opname-balance-router.js","position":10,"original_position":10,"commit_id":"a57957cf847dda2754338d89259807e50a0c45b8","original_commit_id":"a57957cf847dda2754338d89259807e50a0c45b8","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').","created_at":"2018-11-23T14:47:30Z","updated_at":"2018-11-23T14:47:30Z","html_url":"https://github.com/danliris/bateeq-inventory-api/pull/175#discussion_r235961522","pull_request_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/175","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/comments/235961522"},"html":{"href":"https://github.com/danliris/bateeq-inventory-api/pull/175#discussion_r235961522"},"pull_request":{"href":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/175","id":233220313,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjIwMzEz","html_url":"https://github.com/danliris/bateeq-inventory-api/pull/175","diff_url":"https://github.com/danliris/bateeq-inventory-api/pull/175.diff","patch_url":"https://github.com/danliris/bateeq-inventory-api/pull/175.patch","issue_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/issues/175","number":175,"state":"open","locked":false,"title":"update stock opname balance","user":{"login":"AchmadSetiaji","id":28553586,"node_id":"MDQ6VXNlcjI4NTUzNTg2","avatar_url":"https://avatars0.githubusercontent.com/u/28553586?v=4","gravatar_id":"","url":"https://api.github.com/users/AchmadSetiaji","html_url":"https://github.com/AchmadSetiaji","followers_url":"https://api.github.com/users/AchmadSetiaji/followers","following_url":"https://api.github.com/users/AchmadSetiaji/following{/other_user}","gists_url":"https://api.github.com/users/AchmadSetiaji/gists{/gist_id}","starred_url":"https://api.github.com/users/AchmadSetiaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AchmadSetiaji/subscriptions","organizations_url":"https://api.github.com/users/AchmadSetiaji/orgs","repos_url":"https://api.github.com/users/AchmadSetiaji/repos","events_url":"https://api.github.com/users/AchmadSetiaji/events{/privacy}","received_events_url":"https://api.github.com/users/AchmadSetiaji/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-23T14:47:20Z","updated_at":"2018-11-23T14:47:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b42e6220823ccc8d5e17c3a607e99e4337da208","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/175/commits","review_comments_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/175/comments","review_comment_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/issues/175/comments","statuses_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/statuses/a57957cf847dda2754338d89259807e50a0c45b8","head":{"label":"AchmadSetiaji:dev","ref":"dev","sha":"a57957cf847dda2754338d89259807e50a0c45b8","user":{"login":"AchmadSetiaji","id":28553586,"node_id":"MDQ6VXNlcjI4NTUzNTg2","avatar_url":"https://avatars0.githubusercontent.com/u/28553586?v=4","gravatar_id":"","url":"https://api.github.com/users/AchmadSetiaji","html_url":"https://github.com/AchmadSetiaji","followers_url":"https://api.github.com/users/AchmadSetiaji/followers","following_url":"https://api.github.com/users/AchmadSetiaji/following{/other_user}","gists_url":"https://api.github.com/users/AchmadSetiaji/gists{/gist_id}","starred_url":"https://api.github.com/users/AchmadSetiaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AchmadSetiaji/subscriptions","organizations_url":"https://api.github.com/users/AchmadSetiaji/orgs","repos_url":"https://api.github.com/users/AchmadSetiaji/repos","events_url":"https://api.github.com/users/AchmadSetiaji/events{/privacy}","received_events_url":"https://api.github.com/users/AchmadSetiaji/received_events","type":"User","site_admin":false},"repo":{"id":103560172,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM1NjAxNzI=","name":"bateeq-inventory-api","full_name":"AchmadSetiaji/bateeq-inventory-api","private":false,"owner":{"login":"AchmadSetiaji","id":28553586,"node_id":"MDQ6VXNlcjI4NTUzNTg2","avatar_url":"https://avatars0.githubusercontent.com/u/28553586?v=4","gravatar_id":"","url":"https://api.github.com/users/AchmadSetiaji","html_url":"https://github.com/AchmadSetiaji","followers_url":"https://api.github.com/users/AchmadSetiaji/followers","following_url":"https://api.github.com/users/AchmadSetiaji/following{/other_user}","gists_url":"https://api.github.com/users/AchmadSetiaji/gists{/gist_id}","starred_url":"https://api.github.com/users/AchmadSetiaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AchmadSetiaji/subscriptions","organizations_url":"https://api.github.com/users/AchmadSetiaji/orgs","repos_url":"https://api.github.com/users/AchmadSetiaji/repos","events_url":"https://api.github.com/users/AchmadSetiaji/events{/privacy}","received_events_url":"https://api.github.com/users/AchmadSetiaji/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AchmadSetiaji/bateeq-inventory-api","description":"RESTful api for bateeq inventory","fork":true,"url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api","forks_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/forks","keys_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/teams","hooks_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/hooks","issue_events_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/issues/events{/number}","events_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/events","assignees_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/assignees{/user}","branches_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/branches{/branch}","tags_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/tags","blobs_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/statuses/{sha}","languages_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/languages","stargazers_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/stargazers","contributors_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/contributors","subscribers_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/subscribers","subscription_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/subscription","commits_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/contents/{+path}","compare_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/merges","archive_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/downloads","issues_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/issues{/number}","pulls_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/pulls{/number}","milestones_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/milestones{/number}","notifications_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/labels{/name}","releases_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/releases{/id}","deployments_url":"https://api.github.com/repos/AchmadSetiaji/bateeq-inventory-api/deployments","created_at":"2017-09-14T17:13:05Z","updated_at":"2018-10-25T04:44:53Z","pushed_at":"2018-11-23T14:47:01Z","git_url":"git://github.com/AchmadSetiaji/bateeq-inventory-api.git","ssh_url":"git@github.com:AchmadSetiaji/bateeq-inventory-api.git","clone_url":"https://github.com/AchmadSetiaji/bateeq-inventory-api.git","svn_url":"https://github.com/AchmadSetiaji/bateeq-inventory-api","homepage":null,"size":376,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"danliris:dev","ref":"dev","sha":"49ac8f2a05e9175ec0d8ac4cbc5c4c5f4c8ccc7d","user":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"repo":{"id":62210070,"node_id":"MDEwOlJlcG9zaXRvcnk2MjIxMDA3MA==","name":"bateeq-inventory-api","full_name":"danliris/bateeq-inventory-api","private":false,"owner":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"html_url":"https://github.com/danliris/bateeq-inventory-api","description":"RESTful api for bateeq inventory","fork":false,"url":"https://api.github.com/repos/danliris/bateeq-inventory-api","forks_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/forks","keys_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/teams","hooks_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/hooks","issue_events_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/issues/events{/number}","events_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/events","assignees_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/assignees{/user}","branches_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/branches{/branch}","tags_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/tags","blobs_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/statuses/{sha}","languages_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/languages","stargazers_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/stargazers","contributors_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/contributors","subscribers_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/subscribers","subscription_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/subscription","commits_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/contents/{+path}","compare_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/merges","archive_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/downloads","issues_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/issues{/number}","pulls_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls{/number}","milestones_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/milestones{/number}","notifications_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/labels{/name}","releases_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/releases{/id}","deployments_url":"https://api.github.com/repos/danliris/bateeq-inventory-api/deployments","created_at":"2016-06-29T08:39:52Z","updated_at":"2018-10-09T15:53:56Z","pushed_at":"2018-11-23T14:47:21Z","git_url":"git://github.com/danliris/bateeq-inventory-api.git","ssh_url":"git@github.com:danliris/bateeq-inventory-api.git","clone_url":"https://github.com/danliris/bateeq-inventory-api.git","svn_url":"https://github.com/danliris/bateeq-inventory-api","homepage":null,"size":375,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":13,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/175"},"html":{"href":"https://github.com/danliris/bateeq-inventory-api/pull/175"},"issue":{"href":"https://api.github.com/repos/danliris/bateeq-inventory-api/issues/175"},"comments":{"href":"https://api.github.com/repos/danliris/bateeq-inventory-api/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danliris/bateeq-inventory-api/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/danliris/bateeq-inventory-api/statuses/a57957cf847dda2754338d89259807e50a0c45b8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}