Skip to content

Commit

Permalink
docs(README): fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-pluto committed Nov 20, 2023
1 parent 2b14716 commit e0e9371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/formidable/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Allow you to use formidable for request parse
```ts
import {parseAstroForm, isFormidableFile} from '@astro-utils/formidable';

export const post: APIRoute = ({ request }) => {
export const post: APIRoute = async ({request}) => {
const formData: FormData = await parseAstroForm(Astro.request);
let name = 'Not-File'

Expand Down

0 comments on commit e0e9371

Please sign in to comment.