syncano-node
syncano-node copied to clipboard
Change 'import Syncano' to 'import Server' in the cheatsheet docs
The doc first instructs to do:
export default (ctx) => {
const {data} = new Syncano(ctx)
data.posts
.create({title: 'Lorem ipsum'})
.then(post => {
console.log(post.title)
})
}
And then continues with:
const {response} = new Server(ctx)
This should be unified