mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 17:59:05 +01:00
9 lines
215 B
TypeScript
9 lines
215 B
TypeScript
import config from '../../../config';
|
|
import { ILocalUser } from "../../../models/user";
|
|
|
|
export default (object: any, user: ILocalUser) => ({
|
|
type: 'Delete',
|
|
actor: `${config.url}/users/${user._id}`,
|
|
object
|
|
});
|