We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f923f4a commit 061964cCopy full SHA for 061964c
1 file changed
onekey_client/client.py
@@ -219,10 +219,9 @@ def upload_firmware(
219
raise errors.QueryError(res["createFirmwareUpload"]["errors"])
220
221
upload_url = res["createFirmwareUpload"]["uploadUrl"]
222
- res = self._post_with_token(
+ return self._post_with_token(
223
upload_url, files={"firmware": path.open("rb")}, timeout=timeout
224
)
225
- return res
226
227
@_tenant_required
228
def get_product_groups(self):
0 commit comments