mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-17 13:46:34 +01: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
|
||
|
});
|