mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 03:03:08 +02:00
refactor: fix types
This commit is contained in:
parent
451bc0b444
commit
5d3d5cd59c
2 changed files with 2 additions and 2 deletions
|
@ -434,7 +434,7 @@ export class UserFollowingService {
|
|||
followee: {
|
||||
id: User['id']; host: User['host']; uri: User['host']; inbox: User['inbox']; sharedInbox: User['sharedInbox'];
|
||||
},
|
||||
follower: CacheableUser,
|
||||
follower: User | CacheableUser,
|
||||
): Promise<void> {
|
||||
const request = await this.followRequestsRepository.findOneBy({
|
||||
followeeId: followee.id,
|
||||
|
|
|
@ -14,7 +14,7 @@ export interface IObject {
|
|||
attachment?: any[];
|
||||
inReplyTo?: any;
|
||||
replies?: ICollection;
|
||||
content?: string;
|
||||
content?: string | null;
|
||||
startTime?: Date;
|
||||
endTime?: Date;
|
||||
icon?: any;
|
||||
|
|
Loading…
Reference in a new issue