Fix metamigo-api build error
This commit is contained in:
parent
161f3fcee2
commit
68736c0c90
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ export const UnverifyBotRoute = Helpers.withDefaults({
|
|||
description: "Unverify bot",
|
||||
async handler(request: Hapi.Request, _h: Hapi.ResponseToolkit) {
|
||||
const { id } = request.params;
|
||||
const { whatsappService } = request.services();
|
||||
const { whatsappService } = request.services("app");
|
||||
|
||||
const bot = await whatsappService.findById(id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue