Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
}];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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';

Expand Down Expand Up @@ -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';

Expand Down