monkeeShark/src/remote/activitypub/renderer/reject.ts
2021-03-23 17:43:07 +09:00

8 lines
216 B
TypeScript

import config from '@/config';
import { ILocalUser } from '../../../models/entities/user';
export default (object: any, user: ILocalUser) => ({
type: 'Reject',
actor: `${config.url}/users/${user.id}`,
object
});