Selaa lähdekoodia
Merge pull request #127 from thalelinh/master
Fixed trusty example calling `then` instead of `fetch`
Travis Nuttall
6 vuotta sitten
vanhempi
commit
1663c7b579
No account linked to committer's email address
1 muutettua tiedostoa jossa
1 lisäystä ja
1 poistoa
-
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
|
})
|