This commit is contained in:
syuilo 2021-03-24 11:28:56 +09:00
parent c664ff43cb
commit b32423bd7b

View file

@ -1,7 +1,7 @@
import config from '@/config';
import { ILocalUser } from '../../../models/entities/user';
import { User } from '@/models/entities/user';
export default (object: any, user: ILocalUser) => ({
export default (object: any, user: { id: User['id']; host: null }) => ({
type: 'Accept',
actor: `${config.url}/users/${user.id}`,
object