1
0
Fork 0
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:
Fedor Katurov 2021-05-04 14:58:39 +07:00
parent e73ab3cb4f
commit f75e3068a0
8 changed files with 75 additions and 16 deletions

View file

@ -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);