From 7ab12dbdb33a9c7554e9bfa6d12033e229d89e0e Mon Sep 17 00:00:00 2001 From: Abdur-Rahmaan Janhangeer Date: Sat, 18 Nov 2023 00:40:35 +0400 Subject: [PATCH] Update file-uploads.mdx (#694) --- docs_src/src/pages/documentation/api_reference/file-uploads.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs_src/src/pages/documentation/api_reference/file-uploads.mdx b/docs_src/src/pages/documentation/api_reference/file-uploads.mdx index a24f5d118..815b08992 100644 --- a/docs_src/src/pages/documentation/api_reference/file-uploads.mdx +++ b/docs_src/src/pages/documentation/api_reference/file-uploads.mdx @@ -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'}) ```