mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-28 23:19:53 +08:00
fix null
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ namespace System.Application.Repositories.Implementation
|
||||
|
||||
(var notSecondaryPassword, var encryptionMode) = GetEncryptionMode2(isLocal, secondaryPassword);
|
||||
|
||||
var name_bytes = await ss.E(item.Name, encryptionMode, secondaryPassword);
|
||||
var name_bytes = await ss.E(item.Name ?? string.Empty, encryptionMode, secondaryPassword);
|
||||
name_bytes = name_bytes.ThrowIsNull(nameof(name_bytes));
|
||||
|
||||
var value_bytes = await ss.EB(value, encryptionMode, secondaryPassword);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace System.Application.Models
|
||||
namespace System.Application.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 游戏平台令牌可传输模型
|
||||
@@ -7,7 +7,7 @@
|
||||
{
|
||||
ushort Id { get; set; }
|
||||
|
||||
public int Index { get; set; }
|
||||
int Index { get; set; }
|
||||
|
||||
string Name { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user