common: fix Model issue resetting relationships when pushing data

This commit is contained in:
David Sevilla Martin 2020-03-14 10:28:43 -04:00
parent 0a5493c631
commit cc6619466e
No known key found for this signature in database
GPG Key ID: F764F1417E16B15F

View File

@ -114,7 +114,6 @@ export default class Model {
type: this.data.type,
id: this.data.id,
attributes,
relationships: undefined,
};
// If a 'relationships' key exists, extract it from the attributes hash and