this repo has no description
at main 11 lines 350 B view raw
1import type { Core } from '@strapi/strapi'; 2 3import type { SyncService } from '../services/sync'; 4 5export default ({ strapi }: { strapi: Core.Strapi }) => ({ 6 async resync(ctx: any) { 7 const service = strapi.plugin('strapi-plugin-atproto').service('sync') as SyncService; 8 9 ctx.body = await service.resyncAll(ctx.request.body ?? {}); 10 }, 11});