Closed jancervinka closed 8 years ago
Can you point me to the function declaration you're specifically referring to?
Indeed, the code contained in the 2.2.3 release seems to be old. The following line is not in the downloaded release: https://github.com/toymachiner62/hapi-authorization/blob/master/lib/index.js#L41
Ok i have no idea what I did to get myself screwed up that bad, but I think I have it working again with version 2.2.5. Please update from version 2.2.3 -> 2.2.5 and let me know if there's still any issues.
I believe that you have an incorrect version in 2.2.3 tag. It contains the code of 2.1.x where aclQuery has a signature of
function(parameter, cb)
. So if you update from 2.2.x (where the signature isfunction(parameter, request, cb)
) to 2.2.3, the code breaks.