Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Fronczak committed Feb 6, 2022
1 parent 1974165 commit 8dc1ea9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ At first, you have to create a new entity-type class and extend NestedSetSubject

```typescript

import {NestedSetSubjectAbstract} from "../../src";
import {NestedSetSubjectAbstract} from "mikroorm-nested-set";
import {Cascade, Collection, Entity, ManyToOne, OneToMany, PrimaryKey, Property} from "@mikro-orm/core";

@Entity()
Expand Down Expand Up @@ -59,7 +59,7 @@ export class CategoryFake extends NestedSetSubjectAbstract<CategoryFake>{

After that, you have to create a repository for your new entity. **(It's required for extra tree methods)**
```typescript
import {NestedSetSubjectRepository} from "../../src/repository";
import {NestedSetSubjectRepository} from "mikroorm-nested-set";
import {CategoryFake} from "./category.fake";

export class CategoryFakeRepository extends NestedSetSubjectRepository<CategoryFake> {}
Expand Down Expand Up @@ -166,4 +166,4 @@ If you discover any security related issues, please email kamilfronczak@pm.me in

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

0 comments on commit 8dc1ea9

Please sign in to comment.