unoffical wafrn mirror
wafrn.net
atproto
social-network
activitypub
1import { Job } from 'bullmq'
2import { logger } from '../logger.js'
3import { postPetitionSigned } from '../activitypub/postPetitionSigned.js'
4
5async function sendPostToInboxes(job: Job) {
6 const inbox: string = job.data.inboxList
7 const localUser = job.data.petitionBy
8 const objectToSend = job.data.objectToSend
9 //at some point we should remove the array thing but at the same time yeah
10 const tmp = await postPetitionSigned(objectToSend, localUser, inbox)
11 return true
12}
13
14export { sendPostToInboxes }