Skip to content

Commit

Permalink
fix: missing await
Browse files Browse the repository at this point in the history
fixes #1211
  • Loading branch information
willfarrell committed May 10, 2024
1 parent 1f0afb7 commit a9a841d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/http-content-encoding/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const httpContentEncodingMiddleware = (opts) => {

const httpContentEncodingMiddlewareOnError = async (request) => {
if (typeof request.response === 'undefined') return
httpContentEncodingMiddlewareAfter(request)
await httpContentEncodingMiddlewareAfter(request)
}

return {
Expand Down
2 changes: 1 addition & 1 deletion packages/input-output-logger/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const inputOutputLoggerMiddleware = (opts = {}) => {
}
const inputOutputLoggerMiddlewareOnError = async (request) => {
if (request.response === undefined) return
inputOutputLoggerMiddlewareAfter(request)
await inputOutputLoggerMiddlewareAfter(request)
}

return {
Expand Down

0 comments on commit a9a841d

Please sign in to comment.