Skip to content

Commit

Permalink
Fixes readme styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexmatthews committed Jul 23, 2024
1 parent 027b11f commit 1db708a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,13 @@ If you would need or want to view what requests are being made to the EasyPost A
```javascript
const client = new EasyPostClient('my-key');

const logOutgoingRequest = (request) => console.log("Outgoing:", request);
const logResponse = (response) => console.log("Response:", response)
const logOutgoingRequest = (request) => console.log('Outgoing:', request);
const logResponse = (response) => console.log('Response:', response);

// optionally add your hook to listen for outgoing requests
client.addRequestHook(logOutgoingRequest);
// and optionally the hook for the response
client.addResponseHook(logResponse)
client.addResponseHook(logResponse);

// ...do other stuff

Expand Down
2 changes: 1 addition & 1 deletion examples

0 comments on commit 1db708a

Please sign in to comment.