瀏覽代碼

Fixed trusty example calling `then` instead of `fetch`

Tales Lelo da Aparecida 7 年之前
父節點
當前提交
1a315a302e
No account linked to committer's email address
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      README.md

+ 1
- 1
README.md 查看文件

790
 RNFetchBlob.config({
790
 RNFetchBlob.config({
791
   trusty : true
791
   trusty : true
792
 })
792
 })
793
-.then('GET', 'https://mysite.com')
793
+.fetch('GET', 'https://mysite.com')
794
 .then((resp) => {
794
 .then((resp) => {
795
   // ...
795
   // ...
796
 })
796
 })