monkeeShark/src/remote/activitypub/renderer/reject.ts

9 lines
215 B
TypeScript
Raw Normal View History

import config from '../../../config';
import { ILocalUser } from '../../../models/user';
export default (object: any, user: ILocalUser) => ({
2018-05-31 15:42:37 +00:00
type: 'Reject',
actor: `${config.url}/users/${user._id}`,
2018-05-31 15:42:37 +00:00
object
});