Skip to content

Commit

Permalink
fix(OctonoRequest): added http method to request
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrqr committed Sep 11, 2021
1 parent d960510 commit e35afa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export class OctonoRequest extends Request {

const init: OctonoRequestInit = {
...(params || {}),
method,
headers: {
...(params?.headers || {}),
"user-agent": "octono",
Expand Down

0 comments on commit e35afa3

Please sign in to comment.