mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
fix(microservices): add missing get pattern to rmq and tcp
This commit is contained in:
@@ -110,7 +110,7 @@ export class ServerRMQ extends Server implements CustomTransportStrategy {
|
||||
? packet.pattern
|
||||
: JSON.stringify(packet.pattern);
|
||||
|
||||
const rmqContext = new RmqContext([message, channel]);
|
||||
const rmqContext = new RmqContext([message, channel, pattern]);
|
||||
if (isUndefined((packet as IncomingRequest).id)) {
|
||||
return this.handleEvent(pattern, packet, rmqContext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user