Mongoid changes (#440)
* Remove old IsValidMongoId and Regex * Convert more configs to MongoId, as well as BaseClasses * Remove HashUtil.Generate(), replaced with new MongoId()
This commit is contained in:
@@ -122,7 +122,7 @@ public class InsuranceController(
|
||||
foreach (var insured in insuranceDetails)
|
||||
{
|
||||
// Create a new root parent ID for the message we'll be sending the player
|
||||
var rootItemParentId = _hashUtil.Generate();
|
||||
var rootItemParentId = new MongoId();
|
||||
|
||||
// Update the insured items to have the new root parent ID for root/orphaned items
|
||||
insured.Items = insured.Items.AdoptOrphanedItems(rootItemParentId);
|
||||
|
||||
Reference in New Issue
Block a user