fix issues in core
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { Logger , UseCaseOutputPort } from '@core/shared/application';
|
||||
import type { Logger, UseCaseOutputPort } from '@core/shared/application';
|
||||
import { Result } from '@core/shared/application/Result';
|
||||
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
|
||||
import type { ISocialGraphRepository } from '../../domain/repositories/ISocialGraphRepository';
|
||||
@@ -59,9 +59,11 @@ export class GetCurrentUserSocialUseCase {
|
||||
);
|
||||
}
|
||||
|
||||
// TODO looks like this must still be implemented?
|
||||
|
||||
const friends: FriendDTO[] = friendsDomain.map(friend => ({
|
||||
driverId: friend.id,
|
||||
displayName: friend.name,
|
||||
displayName: friend.name.toString(),
|
||||
avatarUrl: '',
|
||||
isOnline: false,
|
||||
lastSeen: new Date(),
|
||||
|
||||
Reference in New Issue
Block a user