Parcourir la source

Fix path argument in iOS excludeFromBackupKey (#473)

grylance il y a 7 ans
Parent
révision
2aea0b58e9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      ios.js

+ 1
- 1
ios.js Voir le fichier

@@ -43,7 +43,7 @@ function openDocument(path:string, scheme:string) {
43 43
  * @param  {string} url URL of the resource, only file URL is supported
44 44
  * @return {Promise}
45 45
  */
46
-function excludeFromBackupKey(url:string) {
46
+function excludeFromBackupKey(path:string) {
47 47
   return RNFetchBlob.excludeFromBackupKey('file://' + path);
48 48
 }
49 49