Skip to content

Commit bbfaebc

Browse files
pkontekCopilot
andauthored
Update src/PowerPlatform/Dataverse/data/_file_operations.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e997e24 commit bbfaebc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PowerPlatform/Dataverse/data/_file_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,6 @@ def _delete_file(
217217

218218
key = self._format_key(record_id)
219219
url = f"{self.api}/{entity_set}{key}/{file_name_attribute}"
220-
self._request("delete", url)
220+
self._request("delete", url, expected=(204,))
221221

222222
return None

0 commit comments

Comments
 (0)