fix logger
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { AsyncUseCase } from '@gridpilot/shared/application';
|
||||
import type { ILogger } from '../../../shared/src/logging/ILogger';
|
||||
import type { Logger } from '../../../shared/src/logging/Logger';
|
||||
import type { ISocialGraphRepository } from '../../domain/repositories/ISocialGraphRepository';
|
||||
import type { CurrentUserSocialDTO } from '../dto/CurrentUserSocialDTO';
|
||||
import type { FriendDTO } from '../dto/FriendDTO';
|
||||
@@ -23,7 +23,7 @@ export class GetCurrentUserSocialUseCase
|
||||
constructor(
|
||||
private readonly socialGraphRepository: ISocialGraphRepository,
|
||||
public readonly presenter: ICurrentUserSocialPresenter,
|
||||
private readonly logger: ILogger,
|
||||
private readonly logger: Logger,
|
||||
) {}
|
||||
|
||||
async execute(params: GetCurrentUserSocialParams): Promise<void> {
|
||||
|
||||
@@ -6,7 +6,7 @@ import type {
|
||||
IUserFeedPresenter,
|
||||
UserFeedViewModel,
|
||||
} from '../presenters/ISocialPresenters';
|
||||
import type { ILogger } from '../../../shared/src/logging/ILogger';
|
||||
import type { Logger } from '../../../shared/src/logging/Logger';
|
||||
|
||||
export interface GetUserFeedParams {
|
||||
driverId: string;
|
||||
@@ -18,7 +18,7 @@ export class GetUserFeedUseCase
|
||||
constructor(
|
||||
private readonly feedRepository: IFeedRepository,
|
||||
public readonly presenter: IUserFeedPresenter,
|
||||
private readonly logger: ILogger,
|
||||
private readonly logger: Logger,
|
||||
) {}
|
||||
|
||||
async execute(params: GetUserFeedParams): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user