Skip to content

Commit 97b7fc1

Browse files
committed
chore: server: typo
1 parent 5359b5a commit 97b7fc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/listen.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const getValue = require('./get-value');
1010
const isFn = (a) => typeof a === 'function';
1111
const pack = currify(require('./pack'));
1212

13-
const connectionWraped = wraptile(connection);
13+
const connectionWrapped = wraptile(connection);
1414
const wrongOperation = currify(_wrongOperation);
1515

1616
const id = fullstore(0);
@@ -41,7 +41,7 @@ function listen(socket, options) {
4141
return connection(root, socket);
4242

4343
const reject = () => socket.emit('reject');
44-
socket.on('auth', auth(connectionWraped(root, socket), reject));
44+
socket.on('auth', auth(connectionWrapped(root, socket), reject));
4545
});
4646
}
4747

0 commit comments

Comments
 (0)