mirror of
https://github.com/strapi/strapi.git
synced 2025-12-30 00:37:24 +00:00
Fix typo update bookshelf service
This commit is contained in:
parent
6009e3278c
commit
870b31ce5c
@ -120,7 +120,7 @@ module.exports = {
|
||||
const data = _.omit(values, <%= globalID %>.associations.map(ast => ast.alias));
|
||||
|
||||
// Create entry with no-relational data.
|
||||
const entry = <%= globalID %>.forge(params).save(data, { path: true });
|
||||
const entry = <%= globalID %>.forge(params).save(data);
|
||||
|
||||
// Create relational data and return the entry.
|
||||
return <%= globalID %>.updateRelations(Object.assign(params, { values: relations }));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user