mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-25 06:23:09 +02:00
8 lines
247 B
TypeScript
8 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
|
|
});
|