Skip to content

Commit e3ae373

Browse files
pitustgabrielcsapo
authored andcommitted
Fix an example (#55)
1 parent e0bfae6 commit e3ae373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const Server = require('node-git-server');
129129

130130
const repos = new Server(path.resolve(__dirname, 'tmp'), {
131131
autoCreate: true,
132-
authenticate: (type, repo, user, next) => {
132+
authenticate: ({type, repo, user}, next) => {
133133
if(type == 'push') {
134134
user((username, password) => {
135135
console.log(username, password);

0 commit comments

Comments
 (0)