Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 648ac30

Browse files
Fix Safari file check
1 parent fa8c175 commit 648ac30

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/alfresco-core-rest-api/src/ApiClient.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@
151151
if (typeof File === 'function' && param instanceof File) {
152152
return true;
153153
}
154+
// Safari fix
155+
if (typeof File === 'object' && param instanceof File) {
156+
return true;
157+
}
154158
return false;
155159
};
156160

0 commit comments

Comments
 (0)