iceshrimp/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-06-01 00:42:37 +09:00
type: 'Reject',
actor: `${config.url}/users/${user._id}`,
2018-06-01 00:42:37 +09:00
object
});