mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 02:15:11 +01:00
8 lines
228 B
TypeScript
8 lines
228 B
TypeScript
import config from '../../../config';
|
|
import { ILocalUser, IUser } from "../../../models/user";
|
|
|
|
export default (object: any, user: ILocalUser | IUser) => ({
|
|
type: 'Undo',
|
|
actor: `${config.url}/users/${user._id}`,
|
|
object
|
|
});
|