diff --git a/src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Takumi/Event/BbsSignReward/SignInClient.cs b/src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Takumi/Event/BbsSignReward/SignInClient.cs index 49e1f076..b308bd6b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Takumi/Event/BbsSignReward/SignInClient.cs +++ b/src/Snap.Hutao/Snap.Hutao/Web/Hoyolab/Takumi/Event/BbsSignReward/SignInClient.cs @@ -74,7 +74,7 @@ internal sealed partial class SignInClient Response? resp = await httpClient .SetUser(userAndUid.User, CookieType.CookieToken) .UseDynamicSecret(DynamicSecretVersion.Gen1, SaltType.LK2, false) - .TryCatchPostAsJsonAsync>(ApiEndpoints.SignInRewardSign, new SignInData(userAndUid.Uid), options, logger, token) + .TryCatchPostAsJsonAsync>(ApiEndpoints.SignInRewardSign, new(userAndUid.Uid), options, logger, token) .ConfigureAwait(false); if (resp is { Data: { Success: 1, Gt: string gt, Challenge: string originChallenge } }) @@ -87,7 +87,7 @@ internal sealed partial class SignInClient .SetUser(userAndUid.User, CookieType.CookieToken) .SetXrpcChallenge(challenge, validate) .UseDynamicSecret(DynamicSecretVersion.Gen1, SaltType.LK2, false) - .TryCatchPostAsJsonAsync>(ApiEndpoints.SignInRewardSign, new SignInData(userAndUid.Uid), options, logger, token) + .TryCatchPostAsJsonAsync>(ApiEndpoints.SignInRewardSign, new(userAndUid.Uid), options, logger, token) .ConfigureAwait(false); } else