refs 4925 refactor: borrados console.log y actualizada descripción

This commit is contained in:
Vicent Llopis 2023-01-03 13:29:27 +01:00
parent 22d0da273e
commit fec965a8dd
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,7 @@
module.exports = function(Self) {
Self.remoteMethodCtx('onSubmit', {
description: 'Creates client address updating default address',
description: 'Save model changes',
accessType: 'WRITE',
accepts: [
{
@ -57,7 +57,6 @@ module.exports = function(Self) {
}
if (args.updates) {
console.log('args.updates', args.updates);
for (const row of args.updates) {
if (row.data.priority) {
const itemTag = await models.ItemTag.findById(row.where.id, null, myOptions);