mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2025-04-06 15:21:07 +03:00
9 lines
268 B
TypeScript
9 lines
268 B
TypeScript
import config from '@/config/index';
|
|
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,
|
|
published: new Date().toISOString(),
|
|
});
|