1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

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

View File

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