Skip to content

Commit

Permalink
fix: address pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcdo29 committed Nov 10, 2022
1 parent 9970ace commit 76b2196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration/websockets/e2e/gateway.spec.ts
Expand Up @@ -66,7 +66,7 @@ describe('WebSocketGateway', () => {
);
});

it(`should be ableto get the pattern in an interceptor`, async () => {
it(`should be able to get the pattern in an interceptor`, async () => {
app = await createNestApp(ApplicationGateway);
await app.listen(3000);

Expand Down
2 changes: 1 addition & 1 deletion packages/websockets/context/ws-context-creator.ts
Expand Up @@ -108,8 +108,8 @@ export class WsContextCreator {
};

return this.wsProxy.create(async (...args: unknown[]) => {
console.log(args);
args.push(this.reflectCallbackPattern(callback));

const initialArgs = this.contextUtils.createNullArray(argsLength);
fnCanActivate && (await fnCanActivate(args));

Expand Down

0 comments on commit 76b2196

Please sign in to comment.