Skip to content

Commit b9b135a

Browse files
🐛 fix: Fixed an error caused by a change in the UPLOAD route response
1 parent 30ef90e commit b9b135a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

squarecloud/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ async def upload_app(self, file: File,
394394
endpoint: Endpoint = response.route.endpoint
395395
await self._listener.on_request(endpoint=endpoint,
396396
response=response)
397-
payload: UploadPayload = response.response.get('app')
397+
payload: UploadPayload = response.response
398398
app: UploadData = UploadData(**payload)
399399
endpoint: Endpoint = response.route.endpoint
400400
await self._listener.on_request(endpoint=endpoint, response=response)

0 commit comments

Comments
 (0)