mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-23 19:18:14 +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
|
|
});
|