From ccd4102922f83f2d258bfbeb061eae5b1b04d8ff Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Sun, 4 Aug 2024 18:27:09 +0700 Subject: [PATCH] fixup! Refactoring handlers --- src/http/webhook-handlers/post.published.handler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http/webhook-handlers/post.published.handler.ts b/src/http/webhook-handlers/post.published.handler.ts index 58ca0f4f..0447b3f6 100644 --- a/src/http/webhook-handlers/post.published.handler.ts +++ b/src/http/webhook-handlers/post.published.handler.ts @@ -6,8 +6,8 @@ import { v4 as uuidv4 } from 'uuid'; import { addToList } from 'kv-helpers'; export class PostPublishedHandler { - static method: 'post' - static url: '/.ghost/activitypub/webhooks/post/published' + static method = 'post' + static url = '/.ghost/activitypub/webhooks/post/published' constructor( private readonly context: RequestContext,