alekseykulikov/backbone-offline

id not sent with this.model.save()

Opened this issue · 1 comments

Hi there,
I've got a collection that's got the this.storage set with autoPush as per the instructions but when I save an individual model from that collection it sends a PUT without the id attribute. It is looking for the sid - which if I set manually before saving, will successfully be appended to the PUT URL (eg http://res/item/sidvalue) but the sent data doesn't include an id attribute, only an sid (eg {somdata:true, updated_at: datetime, sid: sidvalue} )
Am I meant to be receiving id in the PUT?
thanks

Hey @otagomuseum & @ask11 , have you had any luck with this? Have the same issue. Cheers