add products
This commit is contained in:
@@ -7,13 +7,6 @@ export default class ApplicationAdapter extends JSONAPIAdapter {
|
||||
|
||||
urlForUpdateRecord(id, modelName, snapshot) {
|
||||
return `api/${modelName}s`;
|
||||
}
|
||||
|
||||
createRecord(store, type, snapshot) {
|
||||
let data = this.serialize(snapshot, { includeId: true });
|
||||
//let url = `/${type.modelName}`;
|
||||
|
||||
// ...
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user