Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed May 24, 2021
1 parent 8679069 commit 7f9b138
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/decorator/src/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export enum MidwayFrameworkType {
MS_GRPC = '@midwayjs/grpc',
MS_RABBITMQ = '@midwayjs/rabbitmq',
WS_IO = '@midwayjs/socketio',
WSS = '@midwayjs/ws',
WS = '@midwayjs/ws',
SERVERLESS_APP = '@midwayjs/serverless-app',
CUSTOM = '',
EMPTY = 'empty',
Expand Down
2 changes: 1 addition & 1 deletion packages/ws/src/framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class MidwayWSFramework extends BaseFramework<
}

public getFrameworkType(): MidwayFrameworkType {
return MidwayFrameworkType.WSS;
return MidwayFrameworkType.WS;
}

private async loadMidwayController() {
Expand Down

0 comments on commit 7f9b138

Please sign in to comment.