Browse Source

Fix path argument in iOS excludeFromBackupKey (#473)

grylance 7 years ago
parent
commit
2aea0b58e9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ios.js

+ 1
- 1
ios.js View File

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