refactor: memory stub (#16704)

This commit is contained in:
Jason Rasmussen
2025-03-07 16:03:34 -05:00
committed by GitHub
parent b0bf4e4fff
commit ce74f765b1
6 changed files with 218 additions and 116 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
import { BadRequestException, Injectable } from '@nestjs/common';
import { DateTime } from 'luxon';
import { JsonObject } from 'src/db';
import { OnJob } from 'src/decorators';
import { BulkIdResponseDto, BulkIdsDto } from 'src/dtos/asset-ids.response.dto';
import { AuthDto } from 'src/dtos/auth.dto';
@@ -97,7 +96,7 @@ export class MemoryService extends BaseService {
{
ownerId: auth.user.id,
type: dto.type,
data: dto.data as unknown as JsonObject,
data: dto.data,
isSaved: dto.isSaved,
memoryAt: dto.memoryAt,
seenAt: dto.seenAt,