Skip to content

Commit

Permalink
Register sentry-informer webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhars committed Jan 8, 2025
1 parent 5d1542b commit 202e956
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/webhooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { Fastify } from '@/types';
import { bootstrapWebhook } from './bootstrap-dev-env/bootstrap-dev-env';
import { gocdWebhook } from './gocd/gocd';
import { kafkactlWebhook } from './kafka-control-plane/kafka-control-plane';
import { sentryInformerWebhook } from './sentry-informer/sentry-informer';
import { sentryOptionsWebhook } from './sentry-options/sentry-options';
import { webpackWebhook } from './webpack/webpack';

Expand Down Expand Up @@ -52,7 +53,7 @@ export async function routeHandlers(server: Fastify, _options): Promise<void> {
handleRoute(sentryOptionsWebhook, request, reply, 'sentry-options')
);
server.post('/metrics/sentry-informer/webhook', (request, reply) =>
handleRoute(sentryOptionsWebhook, request, reply, 'sentry-informer')
handleRoute(sentryInformerWebhook, request, reply, 'sentry-informer')
);
server.post('/metrics/webpack/webhook', (request, reply) =>
handleRoute(webpackWebhook, request, reply, 'webpack')
Expand Down

0 comments on commit 202e956

Please sign in to comment.