mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-23 19:18:14 +09:00
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
|
||
|
});
|