Skip to content

Commit

Permalink
Minor docs tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 20, 2021
1 parent 5cbcf52 commit a560446
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions documentation/9-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const response = await got('https://example.com', {
});
```

### `beforeRetry`
#### `beforeRetry`

**Type: `BeforeRetryHook[]`**\
**Default: `[]`**
Expand Down Expand Up @@ -209,7 +209,7 @@ await got('https://httpbin.org/status/500', {
});
```

### `afterResponse`
#### `afterResponse`

**Type: `AfterResponseHook[]`**\
**Default: `[]`**
Expand Down Expand Up @@ -264,7 +264,7 @@ const instance = got.extend({
});
```

### `beforeError`
#### `beforeError`

**Type: `BeforeErrorHook[]`**\
**Default: `[]`**
Expand Down
11 changes: 4 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
</sup>
</p>
<br>
<a href="https://moxy.studio">
<img src="https://sindresorhus.com/assets/thanks/moxy-logo.svg" width="160">
</a>
<br>
<br>
<br>
<a href="https://retool.com/?utm_campaign=sindresorhus">
<img src="https://sindresorhus.com/assets/thanks/retool-logo.svg" width="210">
</a>
Expand All @@ -35,7 +29,10 @@
<br>
<br>
<a href="https://www.monito.com">
<img src="https://sindresorhus.com/assets/thanks/monito-logo.svg" width="210">
<div>
<img src="https://sindresorhus.com/assets/thanks/monito-logo.svg" width="210">
</div>
<b>Find the cheapest way to send money abroad</b>
</a>
<br>
<br>
Expand Down

0 comments on commit a560446

Please sign in to comment.