Skip to content

Commit

Permalink
Update 2-options.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dscotese authored Sep 16, 2024
1 parent 6309835 commit 8f45305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/2-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const options = new Options({
}
});

options.headers. = 'bar';
options.headers.foo = 'bar';

// Note that `Options` stores normalized options, therefore it needs to be passed as the third argument.
const {headers} = await got('anything', undefined, options).json();
Expand Down

0 comments on commit 8f45305

Please sign in to comment.