diff --git a/src/contents/contents.service.ts b/src/contents/contents.service.ts index bda6778..77d770f 100644 --- a/src/contents/contents.service.ts +++ b/src/contents/contents.service.ts @@ -249,7 +249,7 @@ export class ContentsService { } content.favorite = !content.favorite; - await entityManager!.save(content); + await this.contentRepository.createOne(content, entityManager); return {}; } catch (e) {