mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-06-06 21:16:57 +00:00
8 lines
223 B
TypeScript
8 lines
223 B
TypeScript
import config from '@/config';
|
|
import { User } from '@/models/entities/user';
|
|
|
|
export default (object: any, user: { id: User['id']; host: null }) => ({
|
|
type: 'Accept',
|
|
actor: `${config.url}/users/${user.id}`,
|
|
object
|
|
});
|