mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 05:23:09 +02:00
fix type
This commit is contained in:
parent
9191b9e736
commit
d7c7bc5d8e
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
import config from '@/config';
|
||||
import { ILocalUser } from '../../../models/entities/user';
|
||||
import { User } from '@/models/entities/user';
|
||||
|
||||
export default (object: any, user: ILocalUser) => ({
|
||||
export default (object: any, user: { id: User['id']; host: null }) => ({
|
||||
type: 'Accept',
|
||||
actor: `${config.url}/users/${user.id}`,
|
||||
object
|
||||
|
|
Loading…
Reference in a new issue