diff --git a/pkg/timeline/adaptor/controller/timeline.ts b/pkg/timeline/adaptor/controller/timeline.ts index 620c6ed0..b66a57a5 100644 --- a/pkg/timeline/adaptor/controller/timeline.ts +++ b/pkg/timeline/adaptor/controller/timeline.ts @@ -145,6 +145,7 @@ export class TimelineController { id: v.getID(), name: v.getName(), nickname: v.getNickname(), + // ToDo: fill avatar URL avatar: '', }; }); diff --git a/pkg/timeline/service/fetchMember.ts b/pkg/timeline/service/fetchMember.ts index 079f7057..ce9a720d 100644 --- a/pkg/timeline/service/fetchMember.ts +++ b/pkg/timeline/service/fetchMember.ts @@ -19,11 +19,6 @@ export class FetchListMemberService { } const unwrappedAccountID = Result.unwrap(list); - const accounts = await this.accountModule.fetchAccounts(unwrappedAccountID); - if (Result.isErr(accounts)) { - return accounts; - } - - return Result.ok(Result.unwrap(accounts)); + return await this.accountModule.fetchAccounts(unwrappedAccountID); } }