Merge branch 'develop' of https://github.com/Frappet/bma-ehr-organization into develop
This commit is contained in:
commit
f8bbbcfb99
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ function createConsumer( //----> consumer
|
|||
}
|
||||
|
||||
async function handler(msg: amqp.ConsumeMessage): Promise<boolean> {
|
||||
console.log(msg ? "[AMQ] on handler" : "[AMQ] don't handler");
|
||||
//----> condition before process consumer
|
||||
const repo = AppDataSource.getRepository(Command);
|
||||
const { data, token, user } = JSON.parse(msg.content.toString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue