mirror of
https://github.com/flarum/framework.git
synced 2025-01-21 14:14:59 +08:00
common: fix Model issue resetting relationships when pushing data
This commit is contained in:
parent
0a5493c631
commit
cc6619466e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user