docs: fixes to database transaction docs (#10978)

This commit is contained in:
Shahed Nasser
2025-01-15 19:46:59 +02:00
committed by GitHub
parent ff739045fa
commit 62d543e691
@@ -227,7 +227,7 @@ class HelloModuleService {
},
@MedusaContext() sharedContext?: Context<EntityManager>
): Promise<any> {
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
}
}