ce340aba7a
* wip * wip * wip * wip * wip * Update define.ts * Update update.ts * Update user.ts * wip * wip * Update request.ts * URL * wip * wip * wip * wip * Update invite.ts * Update create.ts
9 lines
230 B
TypeScript
9 lines
230 B
TypeScript
import config from '@/config';
|
|
import { User } from '../../../models/entities/user';
|
|
|
|
export default (object: any, user: { id: User['id']; host: null }) => ({
|
|
type: 'Delete',
|
|
actor: `${config.url}/users/${user.id}`,
|
|
object
|
|
});
|