10 lines
237 B
TypeScript
10 lines
237 B
TypeScript
|
import config from '../../../config';
|
||
|
import { ILocalUser } from '../../../models/user';
|
||
|
|
||
|
export default (user: ILocalUser, target: any, object: any) => ({
|
||
|
type: 'Remove',
|
||
|
actor: `${config.url}/users/${user._id}`,
|
||
|
target,
|
||
|
object
|
||
|
});
|