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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user