docs: changed BaseService to TransactionBaseService (#2046)

This commit is contained in:
Shahed Nasser
2022-08-15 12:29:02 +03:00
committed by GitHub
parent 0703dd94e8
commit 4a89961fd4
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ npm run build
You can access your custom entity data in the database in services or subscribers using the repository. For example, heres a service that lists all posts:
```tsx
import { TransactionBaseService } from "medusa-interfaces";
import { TransactionBaseService } from '@medusajs/medusa';
class PostService extends TransactionBaseService {
constructor({ postRepository, manager }) {