diff --git a/packages/backend/src/plugins/catalog.ts b/packages/backend/src/plugins/catalog.ts index 8c3a193885..a196391e5e 100644 --- a/packages/backend/src/plugins/catalog.ts +++ b/packages/backend/src/plugins/catalog.ts @@ -52,6 +52,10 @@ export default async function createPlugin( fn: async () => await sourcegraphProvider.full(), }); + router.post("/sourcegraph/webhook", async (req, _res) => { + await sourcegraphProvider.delta(req.body); + }); + await processingEngine.start(); return router;