feat: Cart SalesChannel link + clean-up (#6418)
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
Filter,
|
||||
Index,
|
||||
ManyToOne,
|
||||
OnInit,
|
||||
OneToMany,
|
||||
OptionalProps,
|
||||
PrimaryKey,
|
||||
@@ -71,7 +72,7 @@ export default class Region {
|
||||
this.id = generateEntityId(this.id, "reg")
|
||||
}
|
||||
|
||||
@BeforeCreate()
|
||||
@OnInit()
|
||||
onInit() {
|
||||
this.id = generateEntityId(this.id, "reg")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user