Skip to content

Commit

Permalink
i18n(pt-BR): Updated core-concepts/endpoints.mdx (#4131)
Browse files Browse the repository at this point in the history
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
  • Loading branch information
Alynva and yanthomasdev authored Aug 9, 2023
1 parent 67dcc3b commit 2d805df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/pt-br/core-concepts/endpoints.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Também é possível adicionar validação de tipo à sua função com o tipo `A
```ts
import type { APIRoute } from 'astro';

export const get: APIRoute = async function get ({params, request}) {
export const get: APIRoute = async () => ({ params, request }) {
...
```
Expand Down

0 comments on commit 2d805df

Please sign in to comment.