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