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 Feb 2, 2023
1 parent c29a919 commit ff9a577
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 @@ -109,8 +109,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 ff9a577

Please sign in to comment.