Skip to content

Commit

Permalink
Publish to PUBLIC_COLLECTION
Browse files Browse the repository at this point in the history
  • Loading branch information
mike182uk committed Jul 25, 2024
1 parent bce8f19 commit 4b0ea75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
Create,
Note,
Update,
PUBLIC_COLLECTION
} from '@fedify/fedify';
import { Context, Next } from 'hono';
import ky from 'ky';
Expand Down Expand Up @@ -169,6 +170,7 @@ export async function siteChangedWebhook(
const update = new Update({
id: apCtx.getObjectUri(Update, { id: uuidv4() }),
actor: actor?.id,
to: PUBLIC_COLLECTION,
object: actor
});

Expand Down

0 comments on commit 4b0ea75

Please sign in to comment.