Skip to content

Commit

Permalink
fix(model): fix insert return value
Browse files Browse the repository at this point in the history
  • Loading branch information
howard60915 committed Feb 9, 2018
1 parent e5df5c7 commit f7aeade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphql-tower-model/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ export default class Model {

const [row] = await this.constructor.query.insert(signify(values), '*');

this.forge(format(row));
this.merge(format(row));
this.prime();

return this;
Expand Down

0 comments on commit f7aeade

Please sign in to comment.