loopback-auditz icon indicating copy to clipboard operation
loopback-auditz copied to clipboard

SoftDelete issue in softDestroyAll function

Open pumppi opened this issue 7 years ago • 0 comments

Hi,

There is issue on SoftDelete line 320

Model.destroyAll = function softDestroyAll(where, cb) {}...

Should be

Model.destroyAll = function softDestroyAll(where, data, cb) {}...

See function parameters in updateAll function http://apidocs.loopback.io/loopback/#persistedmodel-updateall

Are you still interested to maintain this repo? This is good addon, would be nice to add updates.

pumppi avatar Jan 27 '19 19:01 pumppi