gabrielcsapo / node-git-server

🎡 A configurable git server written in Node.js
https://gabrielcsapo.github.io/node-git-server
MIT License
253 stars 73 forks source link

TypeError: next is not a function #59

Closed Maathias closed 5 years ago

Maathias commented 5 years ago

While running the example for authentication, server crashes on push request. The argument that is supposed to be a "next" function is my project main file path.

Maathias commented 5 years ago

Found the issue. In the readme on npm, it's still authenticate: (type, repo, user, next) => { instead of authenticate: ({type, repo, user}, next) => {