Skip to content

Commit

Permalink
Fix typos in documentation (#8659)
Browse files Browse the repository at this point in the history
* fix typo

* fix the canary version

* typo in logger docs

---------

Co-authored-by: Tobbe Lundberg <[email protected]>
  • Loading branch information
2 people authored and jtoar committed Jun 22, 2023
1 parent c61afac commit dbc39dd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/docs/how-to/using-a-third-party-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const HomePage = () => {

const onSubmit = (data) => {
fetch(
`https://api.openweathermap.org/data/2.5/weather?zip={data.zip},us&appid=YOUR_API_KEY`
`https://api.openweathermap.org/data/2.5/weather?zip=${data.zip},us&appid=YOUR_API_KEY`
)
.then((response) => response.json())
.then((json) => setWeather(json))
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ In addition to the rich [features](https://github.com/pinojs/pino/blob/master/do

One of 'fatal', 'error', 'warn', 'info', 'debug', 'trace' or 'silent'.

The logger detects you current environment and will default to a sensible minimum log level.
The logger detects your current environment and will default to a sensible minimum log level.

> **_NOTE:_** In Development, the default is `trace` while in Production, the default is `warn`.
> This means that output in your dev server can be verbose, but when you deploy you won't miss out on critical issues.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const HomePage = () => {

const onSubmit = (data) => {
fetch(
`https://api.openweathermap.org/data/2.5/weather?zip={data.zip},us&appid=YOUR_API_KEY`
`https://api.openweathermap.org/data/2.5/weather?zip=${data.zip},us&appid=YOUR_API_KEY`
)
.then((response) => response.json())
.then((json) => setWeather(json))
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-5.0/logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ In addition to the rich [features](https://github.com/pinojs/pino/blob/master/do

One of 'fatal', 'error', 'warn', 'info', 'debug', 'trace' or 'silent'.

The logger detects you current environment and will default to a sensible minimum log level.
The logger detects your current environment and will default to a sensible minimum log level.

> **_NOTE:_** In Development, the default is `trace` while in Production, the default is `warn`.
> This means that output in your dev server can be verbose, but when you deploy you won't miss out on critical issues.
Expand Down

0 comments on commit dbc39dd

Please sign in to comment.