Skip to content

Commit 26cd55e

Browse files
authored
Merge pull request #276 from InfoDevkota/patch-3
fix: typos on essential
2 parents a2e2a1a + 23fb411 commit 26cd55e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/essential/context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ import { Elysia } from 'elysia'
126126

127127
new Elysia()
128128
.derive(({ headers }) => {
129-
const auth = headers['Authorization']
129+
const auth = headers['authorization']
130130

131131
return {
132132
bearer: auth?.startsWith('Bearer ') ? auth.slice(7) : null

docs/essential/schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ One of the most important areas to create a secure web server is to make sure th
2020

2121
Elysia handled this by providing a validation tool out of the box to validate incoming requests using **Schema Builder**.
2222

23-
**Elysia.t**, a schema builder based on [TypeBox](https://github.com/sinclairzx81/typebox) to validate the value in both runtime and compile-time, providing time safety like in a strict type language.
23+
**Elysia.t**, a schema builder based on [TypeBox](https://github.com/sinclairzx81/typebox) to validate the value in both runtime and compile-time, providing type safety like in a strict type language.
2424

2525
## Type
2626

docs/essential/scope.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,6 @@ The response should be listed as follows:
215215
| Path | Log |
216216
| ----- | ----------------------- |
217217
| /inner | 1, 2 |
218-
| /outer | 1 |
218+
| /outer | 2 |
219219
220220
Scope and guard only prevent the event from being inherited but the scope itself will inherit the events.

0 commit comments

Comments
 (0)