Skip to content

Commit

Permalink
refactor: response
Browse files Browse the repository at this point in the history
  • Loading branch information
ariskemper committed Feb 1, 2024
1 parent a23e00a commit fd1c9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class Response {
const headers = this.buildHeaders(init?.headers)

if (typeof body === 'string' || body instanceof ReadableStream) {
(this as any)[cacheKey] = [init?.status || 200, body, headers]
;(this as any)[cacheKey] = [init?.status || 200, body, headers]
}
}

Expand Down

0 comments on commit fd1c9a6

Please sign in to comment.