Skip to content

Commit c12998c

Browse files
committed
Don't send presetInventory to project create
1 parent aa3053b commit c12998c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/project/project.edgedb.repository.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ export class ProjectEdgeDBRepository
6565
}
6666

6767
async create(input: CreateProject) {
68-
const { type, sensitivity, otherLocationIds, ...props } = input;
68+
const { type, sensitivity, otherLocationIds, presetInventory, ...props } =
69+
input;
6970
return await this.concretes[input.type].create({
7071
...props,
7172
ownSensitivity: sensitivity,

0 commit comments

Comments
 (0)