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 e24a356 commit ccd4102
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 method = 'post'
static url = '/.ghost/activitypub/webhooks/post/published'

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

0 comments on commit ccd4102

Please sign in to comment.