Просмотр исходного кода

Merge pull request #127 from thalelinh/master

Fixed trusty example calling `then` instead of `fetch`
Travis Nuttall 5 лет назад
Родитель
Сommit
1663c7b579
No account linked to committer's email address
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      README.md

+ 1
- 1
README.md Просмотреть файл

@@ -790,7 +790,7 @@ By default, rn-fetch-blob does NOT allow connection to unknown certification pro
790 790
 RNFetchBlob.config({
791 791
   trusty : true
792 792
 })
793
-.then('GET', 'https://mysite.com')
793
+.fetch('GET', 'https://mysite.com')
794 794
 .then((resp) => {
795 795
   // ...
796 796
 })