fix
This commit is contained in:
@@ -67,7 +67,11 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
|||||||
active: ps.active,
|
active: ps.active,
|
||||||
});
|
});
|
||||||
|
|
||||||
this.globalEventService.publishInternalEvent('webhookUpdated', webhook);
|
const updated = await this.webhooksRepository.findOneByOrFail({
|
||||||
|
id: ps.webhookId,
|
||||||
|
});
|
||||||
|
|
||||||
|
this.globalEventService.publishInternalEvent('webhookUpdated', updated);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user