mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-20 01:29:02 +09:00
9 lines
247 B
TypeScript
9 lines
247 B
TypeScript
|
import config from '../../../../conf';
|
||
|
import { IRemoteAccount } from '../../../../models/user';
|
||
|
|
||
|
export default ({ username }, { account }) => ({
|
||
|
type: 'Follow',
|
||
|
actor: `${config.url}/@${username}`,
|
||
|
object: (account as IRemoteAccount).uri
|
||
|
});
|