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