@Frank wrote:
I am using
'ember-data-url-templates'
in my model adapter.When I do model.save(), or model.destroyRecord(), I get an error
400
because somehow the model id is not being passed to the network call.Here is my adapter for the
put
updateRecordUrlTemplate: ${ENV.API_ENDPOINT}/issues/template/{issueTemplateId}
When I do model.save() I get
As you can see, the model
id
is missing the the network call.I don’t understand what I do incorrectly here. That’s something that is used throughout the app without any problem on other models.
If anyone could help, thanks!
Posts: 3
Participants: 2