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