Skip to content

Commit 8baded7

Browse files
committed
Returning full result on update
1 parent d59cae2 commit 8baded7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/services/FootprintService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ module.exports = class FootprintService extends Service {
151151
}
152152
}
153153

154-
query = Model.update(values, _.extend(criteria, options)).then(results => results[0])
154+
query = Model.update(values, _.extend(criteria, options))
155155
}
156156

157157
return query.catch(manageError)

0 commit comments

Comments
 (0)