Fix(backend): isTalk not defined

This commit is contained in:
ltlapy 2023-05-10 07:21:49 +09:00
parent caa3aceca9
commit 5d87e79a3a

View file

@ -310,7 +310,7 @@ export class ApRendererService {
}
@bindThis
public async renderNote(note: Note, dive = true): Promise<IPost> {
public async renderNote(note: Note, dive = true, isTalk = false): Promise<IPost> {
const getPromisedFiles = async (ids: string[]) => {
if (!ids || ids.length === 0) return [];
const items = await this.driveFilesRepository.findBy({ id: In(ids) });