Skip to content

Commit 70f2993

Browse files
committed
fix: remove unused level
1 parent 1c825ee commit 70f2993

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/modules/nodes/events/add-user-to-node/add-user-to-node.handler.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ export class AddUserToNodeHandler implements IEventHandler<AddUserToNodeEvent> {
6060
username: tId.toString(),
6161
password: trojanPassword,
6262
tag: inbound.tag,
63-
level: 0,
6463
};
6564
case 'vless':
6665
return {
@@ -78,7 +77,6 @@ export class AddUserToNodeHandler implements IEventHandler<AddUserToNodeEvent> {
7877
tag: inbound.tag,
7978
cipherType: CipherType.CHACHA20_POLY1305,
8079
ivCheck: false,
81-
level: 0,
8280
};
8381
default:
8482
throw new Error(`Unsupported inbound type: ${inboundType}`);

0 commit comments

Comments
 (0)