fix(medusa): Updating note doesn't require loading author relationship (#5825)
This commit is contained in:
@@ -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) => {
|
return await this.atomicPhase_(async (manager) => {
|
||||||
const noteRepo = manager.withRepository(this.noteRepository_)
|
const noteRepo = manager.withRepository(this.noteRepository_)
|
||||||
|
|
||||||
const note = await this.retrieve(noteId, { relations: ["author"] })
|
const note = await this.retrieve(noteId)
|
||||||
|
|
||||||
note.value = value
|
note.value = value
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user