feat: Cart SalesChannel link + clean-up (#6418)

This commit is contained in:
Oli Juhl
2024-02-16 20:48:56 +01:00
committed by GitHub
parent 1df14de183
commit 1ba35b02dd
29 changed files with 276 additions and 919 deletions
+2 -1
View File
@@ -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")
}