diff --git a/ghost/core/core/server/services/activitypub/ActivityPubService.ts b/ghost/core/core/server/services/activitypub/ActivityPubService.ts index 6312802d318..4523503273b 100644 --- a/ghost/core/core/server/services/activitypub/ActivityPubService.ts +++ b/ghost/core/core/server/services/activitypub/ActivityPubService.ts @@ -30,11 +30,6 @@ export class ActivityPubService { target_url: new URL('.ghost/activitypub/webhooks/post/published', this.siteUrl), api_version: 'v5.100.0', secret - }, { - event: 'site.changed', - target_url: new URL('.ghost/activitypub/webhooks/site/changed', this.siteUrl), - api_version: 'v5.100.0', - secret }]; } diff --git a/ghost/core/test/unit/server/services/activitypub/ActivityPubService.test.ts b/ghost/core/test/unit/server/services/activitypub/ActivityPubService.test.ts index 551fd618d17..6488e3d5301 100644 --- a/ghost/core/test/unit/server/services/activitypub/ActivityPubService.test.ts +++ b/ghost/core/test/unit/server/services/activitypub/ActivityPubService.test.ts @@ -108,7 +108,7 @@ describe('ActivityPubService', function () { const webhooks = await knexInstance.select('*').from('webhooks'); - const expectedWebhookCount = 2; + const expectedWebhookCount = 1; const expectedWebhookSecret = 'webhook_secret_baby!!'; const expectedWebhookIntegrationId = 'integration_id'; @@ -154,7 +154,7 @@ describe('ActivityPubService', function () { const webhooks = await knexInstance.select('*').from('webhooks'); - const expectedWebhookCount = 2; + const expectedWebhookCount = 1; const expectedWebhookSecret = 'webhook_secret_baby!!'; const expectedWebhookIntegrationId = 'integration_id'; @@ -213,7 +213,7 @@ describe('ActivityPubService', function () { const webhooks = await knexInstance.select('*').from('webhooks'); - const expectedWebhookCount = 2; + const expectedWebhookCount = 1; const expectedWebhookSecret = 'webhook_secret_baby!!'; const expectedWebhookIntegrationId = 'integration_id';