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 } }