monkeeShark/src/remote/activitypub/renderer/delete.ts
2018-08-25 14:52:35 +09:00

8 lines
215 B
TypeScript

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