mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 15:06:41 +07:00
#4 added duplicate check for wall_post_new
This commit is contained in:
parent
e73ab3cb4f
commit
f75e3068a0
8 changed files with 75 additions and 16 deletions
|
@ -66,6 +66,7 @@ export class VkService {
|
|||
logger.debug(`received vk event`, { body });
|
||||
|
||||
const inst = this.instances[groupId] as GroupInstance;
|
||||
|
||||
inst.updates.getWebhookCallback(this.config.endpoint)(req, res, next);
|
||||
} catch (e) {
|
||||
next(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue