Skip to content

Commit c2a2018

Browse files
[fix] Changing buffer -> content in create_file_app
1 parent dfb5eac commit c2a2018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

squarecloud/http/http_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ async def create_app_file(
512512
"""
513513
route: Router = Router(Endpoint.files_create(), app_id=app_id)
514514
response: Response = await self.request(
515-
route, json={'buffer': file, 'path': '/' + path}
515+
route, json={'content': file, 'path': '/' + path}
516516
)
517517
return response
518518

0 commit comments

Comments
 (0)