Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kozakura913 committed Jan 16, 2025
1 parent 965d148 commit 0daa0fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/backend/src/server/ActivityPubServerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,12 @@ export class ActivityPubServerService {
// recommend
fastify.get<{ Params: { user: string; }; }>('/users/:user/collections/recommend', async (request, reply) => await this.recommend(request, reply));

//clip
fastify.get<{
Params: { clip: string; };
Querystring: { since_id?: string; until_id?: string; };
}>('/clips/:clip', { constraints: { apOrHtml: 'ap' } }, async (request, reply) => await this.clips(request, reply));

// publickey
fastify.get<{ Params: { user: string; } }>('/users/:user/publickey', async (request, reply) => {
const userId = request.params.user;
Expand Down

0 comments on commit 0daa0fa

Please sign in to comment.