iceshrimp/src/remote/activitypub/renderer/remove.ts

10 lines
237 B
TypeScript
Raw Normal View History

2018-09-18 13:08:27 +09:00
import config from '../../../config';
import { ILocalUser } from '../../../models/user';
export default (user: ILocalUser, target: any, object: any) => ({
type: 'Remove',
actor: `${config.url}/users/${user._id}`,
target,
object
});