fix rabbit

This commit is contained in:
AdisakKanthawilang 2024-11-22 13:43:00 +07:00
parent 71d5ad0ab9
commit 5c2c898d82

View file

@ -49,7 +49,7 @@ export async function init() {
let retries = 0;
function createConsumer( //----> consumer
async function createConsumer( //----> consumer
queue: string,
channel: amqp.Channel,
handler: (msg: amqp.ConsumeMessage) => Promise<boolean> | boolean,