Skip to content

Commit

Permalink
fixup! Refactoring handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
allouis committed Aug 4, 2024
1 parent ccd4102 commit fe743d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/http/webhook-handlers/post.published.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 readonly method = 'post'
static readonly url = '/.ghost/activitypub/webhooks/post/published'

constructor(
private readonly context: RequestContext<unknown>,
Expand Down

0 comments on commit fe743d0

Please sign in to comment.