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

Commit 4301774

Browse files
authored
Merge pull request #46 from Alfresco/dev-mvitale-660
Fix Safari file check
2 parents fa8c175 + 648ac30 commit 4301774

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)