Pass mongoose instance as second parameter to functions returned from middleware modules.
Pass mongoose instance as second parameter to functions returned from middleware modules.

thecodebureau/epiphany