fix(medusa): Updating note doesn't require loading author relationship (#5825)
This commit is contained in:
5
.changeset/forty-dingos-roll.md
Normal file
5
.changeset/forty-dingos-roll.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
---
|
||||
|
||||
Updating note doesn't require loading author relationship
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user