From 62d543e691f5794c7621f30873a628ba3580492b Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 15 Jan 2025 19:46:59 +0200 Subject: [PATCH] docs: fixes to database transaction docs (#10978) --- .../app/learn/fundamentals/modules/db-operations/page.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/apps/book/app/learn/fundamentals/modules/db-operations/page.mdx b/www/apps/book/app/learn/fundamentals/modules/db-operations/page.mdx index b4c7bdd9c0..641eeabde5 100644 --- a/www/apps/book/app/learn/fundamentals/modules/db-operations/page.mdx +++ b/www/apps/book/app/learn/fundamentals/modules/db-operations/page.mdx @@ -227,7 +227,7 @@ class HelloModuleService { }, @MedusaContext() sharedContext?: Context ): Promise { - anotherMethod(sharedContext) + this.anotherMethod(sharedContext) } } ``` @@ -286,7 +286,7 @@ type InjectedDependencies = { class HelloModuleService { protected baseRepository_: DAL.RepositoryService - constructor({ manager }: InjectedDependencies) { + constructor({ baseRepository }: InjectedDependencies) { this.baseRepository_ = baseRepository } }