Skip to content

Commit ed16b6e

Browse files
hook removed from Post
1 parent 31d0b80 commit ed16b6e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

example/models/Post.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {Comment} from "./Comment";
66
import {PostTopic} from "./PostTopic";
77
import {Topic} from "./Topic";
88
import {Author} from "./Author";
9-
import {Length} from "../../lib/annotations/validation/Length";
109

1110
@Scopes({
1211
full: {
@@ -48,5 +47,3 @@ export class Post extends Model<Post> {
4847
author?: Author;
4948

5049
}
51-
52-
Post.beforeCreate(post => {});

0 commit comments

Comments
 (0)