1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 01:36:03 +02:00

Send actor in Undo Follow

This commit is contained in:
mei23
2018-08-25 14:46:47 +09:00
parent 68a7661f08
commit a39aaf6eb1
3 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,8 @@
export default (object: any) => ({
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
});