Merge pull request #1161 from mindeavor/patch-1
Update m.sync migration docs
This commit is contained in:
commit
fe630b9651
1 changed files with 2 additions and 2 deletions
|
|
@ -300,7 +300,7 @@ m.request({ method: 'GET', url: 'https://api.github.com/' })
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
The equivalent of `m.sync` is now `m.prop.sync`:
|
The equivalent of `m.sync` is now `m.prop.merge`:
|
||||||
|
|
||||||
### `v0.2.x`
|
### `v0.2.x`
|
||||||
|
|
||||||
|
|
@ -317,7 +317,7 @@ m.sync([
|
||||||
### `v1.x`
|
### `v1.x`
|
||||||
|
|
||||||
```js
|
```js
|
||||||
m.prop.sync([
|
m.prop.merge([
|
||||||
m.request({ method: 'GET', url: 'https://api.github.com/users/lhorie' }),
|
m.request({ method: 'GET', url: 'https://api.github.com/users/lhorie' }),
|
||||||
m.request({ method: 'GET', url: 'https://api.github.com/users/isiahmeadows' }),
|
m.request({ method: 'GET', url: 'https://api.github.com/users/isiahmeadows' }),
|
||||||
])
|
])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue