Fix saveEquipmentBuild()
not correctly setting root id to first items _id
This commit is contained in:
parent
9b1b8f9f10
commit
eb961b3e11
@ -128,7 +128,7 @@ export class BuildController
|
|||||||
Id: request.Id,
|
Id: request.Id,
|
||||||
Name: request.Name,
|
Name: request.Name,
|
||||||
BuildType: EquipmentBuildType.CUSTOM,
|
BuildType: EquipmentBuildType.CUSTOM,
|
||||||
Root: request.Root,
|
Root: request.Items[0]._id,
|
||||||
Items: request.Items,
|
Items: request.Items,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user