Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

Commit 92834f8

Browse files
committed
fix(service): fix bug
1 parent f0db0a8 commit 92834f8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"conventionalCommits.scopes": [
3+
"service"
4+
]
5+
}

projects/ngx-socketio2/src/lib/socketio.service.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@ export class Socketio implements OnDestroy {
3434
* @see {@link Socket.auth}
3535
*/
3636
get auth(): Socket['auth'] { return this.socket.auth };
37-
38-
/**
39-
* @see {@link Socketio.auth}
40-
*/
41-
set auth(auth: Socket['auth']) { this.auth = auth };
37+
set auth(auth: Socket['auth']) { this.socket.auth = auth };
4238

4339
constructor(
4440
@Inject(SOCKETIO_CONFIG) { url, options }: SocketioConfig

0 commit comments

Comments
 (0)