Skip to content

Commit

Permalink
Update file-uploads.mdx (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdur-rahmaanJ authored Nov 17, 2023
1 parent 95e859f commit 7ab12db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Batman scaled his application across multiple cores for better performance. He u

# write whatever filename
with open('test.txt', 'wb') as f:
f.write(body)
f.write(file)

return jsonify({'message': 'success'})
```
Expand Down

0 comments on commit 7ab12db

Please sign in to comment.