diff --git a/Libraries/SPTarkov.Server.Core/Models/Common/MongoId.cs b/Libraries/SPTarkov.Server.Core/Models/Common/MongoId.cs index 3595d32f..2b133f01 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Common/MongoId.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Common/MongoId.cs @@ -89,7 +89,7 @@ public readonly struct MongoId : IEquatable, IComparable if (hex.Length != 24) { - throw new ArgumentException("ObjectId must be a 24-character hex string.", nameof(hex)); + throw new ArgumentException("ObjectId must be a 24-character hex string.", hex); } Span bytes = stackalloc byte[12];