Skip to content

Commit

Permalink
misc: fix typos (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
mackey0225 committed Nov 6, 2023
1 parent b7859e4 commit a033f11
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/axum-jwt-authentication.mdx
Expand Up @@ -247,7 +247,7 @@ Accessing the private endpoint with the token will now succeed:
$ curl --header "Authorization: Bearer <token>" http://localhost:8000/private
```

The token is set to expire in 5 minutus, so wait a while and try to access the private endpoint again. Once the token has expired, a user will need to get a new token from login.
The token is set to expire in 5 minutes, so wait a while and try to access the private endpoint again. Once the token has expired, a user will need to get a new token from login.

Looking to extend this example? Here's a couple of ideas to get you started:
- Create a frontend to host the login
Expand Down
2 changes: 1 addition & 1 deletion examples/examples.mdx
Expand Up @@ -2,7 +2,7 @@
title: "Examples"
---

{/* TOOD: Add this page if it gets more content */}
{/* TODO: Add this page if it gets more content */}

This section of the docs has easy to follow guides for getting started with all supported frameworks.

Expand Down
2 changes: 1 addition & 1 deletion examples/serenity-todo.mdx
Expand Up @@ -4,7 +4,7 @@ title: "Todo List Bot"

### Prerequisites

In this example we will deploy a Serenity bot with Shuttle that can add, list and complete todos using [Application Commands](https://discord.com/developers/docs/interactions/application-commands). To persist the todos we need a database. We will have Shuttle provison a PostgreSQL database for us by passing `#[shared::Postgres] pool: PgPool` as an argument to our `main` function.
In this example we will deploy a Serenity bot with Shuttle that can add, list and complete todos using [Application Commands](https://discord.com/developers/docs/interactions/application-commands). To persist the todos we need a database. We will have Shuttle provision a PostgreSQL database for us by passing `#[shared::Postgres] pool: PgPool` as an argument to our `main` function.

To run this bot we need a valid Discord Token. To get started log in to the [Discord developer portal](https://discord.com/developers/applications).

Expand Down
2 changes: 1 addition & 1 deletion getting-started/quick-start.mdx
Expand Up @@ -27,7 +27,7 @@ And to deploy it:
cargo shuttle deploy --allow-dirty
```

<Info>`--allow-dirty` allows deploying without your changes being commited to git.</Info>
<Info>`--allow-dirty` allows deploying without your changes being committed to git.</Info>

You can also run your project locally for development, check out our [local run](./local-run) section.

Expand Down
2 changes: 1 addition & 1 deletion tutorials/discord-weather-forecast.mdx
Expand Up @@ -386,7 +386,7 @@ pub async fn get_forecast(
.json::<Forecast>()
.await?;

// Combine the location with the foreact
// Combine the location with the forecast
Ok((first_location, forecast))
}
```
Expand Down
4 changes: 2 additions & 2 deletions tutorials/send-your-logs-to-datadog.mdx
Expand Up @@ -256,8 +256,8 @@ LOG_LEVEL = "INFO,shuttle_datadog_logs=DEBUG"
and `Secrets.toml`

```toml
DD_API_KEY = "your-datdog-api-key"
DD_TAGS = "env:prod,service:shutle-datadog-logs"
DD_API_KEY = "your-datadog-api-key"
DD_TAGS = "env:prod,service:shuttle-datadog-logs"
LOG_LEVEL = "INFO"
```

Expand Down

0 comments on commit a033f11

Please sign in to comment.