Skip to content
Snippets Groups Projects
Commit 5d3d5cd5 authored by syuilo's avatar syuilo
Browse files

refactor: fix types

parent 451bc0b4
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment