mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-18 08:38:52 +09:00
9 lines
239 B
TypeScript
9 lines
239 B
TypeScript
import config from '../../../config';
|
|
import { IRemoteUser } from '../../../models/user';
|
|
|
|
export default ({ username }, followee: IRemoteUser) => ({
|
|
type: 'Follow',
|
|
actor: `${config.url}/@${username}`,
|
|
object: followee.account.uri
|
|
});
|