fix(medusa): Updating note doesn't require loading author relationship (#5825)

This commit is contained in:
josetr
2023-12-10 19:37:29 +01:00
committed by GitHub
parent 8ab5baf78a
commit d9e29e8e45
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ class NoteService extends TransactionBaseService {
return await this.atomicPhase_(async (manager) => {
const noteRepo = manager.withRepository(this.noteRepository_)
const note = await this.retrieve(noteId, { relations: ["author"] })
const note = await this.retrieve(noteId)
note.value = value