@jsenv/github-pull-request-impact 1.6.6 → 1.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/github-pull-request-impact",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "description": "Report pull request impact on something",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -97,7 +97,7 @@ ${error.stack}`)
97
97
  }
98
98
 
99
99
  const { status } = response
100
- const responseStatusHandler = responseStatusHandlers
100
+ const responseStatusHandler = responseStatusHandlers[status]
101
101
  if (responseStatusHandler) {
102
102
  return responseStatusHandler(response)
103
103
  }