In version 3.x, calling policy.get() returned a callback with the signature function (err, cached). This change makes the callback signature consistent so that it always use the same signature: function (err, item, cached, report) which was already used when generateFunc option is provided.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
In version 3.x, calling
policy.get()
returned a callback with the signaturefunction (err, cached)
. This change makes the callback signature consistent so that it always use the same signature:function (err, item, cached, report)
which was already used whengenerateFunc
option is provided.