Skip to content

Commit bf1b036

Browse files
committed
Merge branch 'main' of github.com:strapi/documentation
2 parents 4058944 + 3c59e4c commit bf1b036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/developer-docs/latest/plugins/upload.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ import fetch, { blobFrom } from 'node-fetch';
149149
const file = await blobFrom('./1.png', 'image/png');
150150
const form = new FormData();
151151

152-
form.append('files', file, "iamge.png");
152+
form.append('files', file, "1.png");
153153

154154
const response = await fetch('http://localhost:1337/api/upload', {
155155
method: 'post',

0 commit comments

Comments
 (0)