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