Skip to content

Commit 65b7960

Browse files
zweckjfrenck
authored andcommitted
Fix missing parameter pass in onedrive (home-assistant#153478)
1 parent 3299481 commit 65b7960

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

homeassistant/components/onedrive/backup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ async def async_upload_backup(
163163
)
164164
try:
165165
backup_file = await LargeFileUploadClient.upload(
166-
self._token_function, file, session=async_get_clientsession(self._hass)
166+
self._token_function,
167+
file,
168+
upload_chunk_size=UPLOAD_CHUNK_SIZE,
169+
session=async_get_clientsession(self._hass),
167170
)
168171
except HashMismatchError as err:
169172
raise BackupAgentError(

0 commit comments

Comments
 (0)