Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: response
Browse files Browse the repository at this point in the history
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
@@ -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]
}
}

0 comments on commit fd1c9a6

Please sign in to comment.