diff --git a/apps/client/src/components/common/user-info.tsx b/apps/client/src/components/common/user-info.tsx index c9fca516..4dd18203 100644 --- a/apps/client/src/components/common/user-info.tsx +++ b/apps/client/src/components/common/user-info.tsx @@ -1,10 +1,10 @@ import { Group, Text } from "@mantine/core"; import { CustomAvatar } from "@/components/ui/custom-avatar.tsx"; import React from "react"; -import { User } from "server/dist/database/types/entity.types"; +import { IUser } from '@/features/user/types/user.types.ts'; interface UserInfoProps { - user: User; + user: Partial; size?: string; } export function UserInfo({ user, size }: UserInfoProps) { diff --git a/apps/server/src/core/page/services/trash-cleanup.service.ts b/apps/server/src/core/page/services/trash-cleanup.service.ts index 6d50d874..f0646367 100644 --- a/apps/server/src/core/page/services/trash-cleanup.service.ts +++ b/apps/server/src/core/page/services/trash-cleanup.service.ts @@ -19,7 +19,7 @@ export class TrashCleanupService { @Interval('trash-cleanup', 24 * 60 * 60 * 1000) // every 24 hours async cleanupOldTrash() { try { - this.logger.log('Starting trash cleanup job'); + this.logger.debug('Starting trash cleanup job'); const retentionDate = new Date(); retentionDate.setDate(retentionDate.getDate() - this.RETENTION_DAYS);