Skip to content

Commit 30ec85c

Browse files
committed
move records
1 parent c8a64cd commit 30ec85c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Content.Server/SS220/Discord/DiscordPlayerManager.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,6 @@ public async Task<bool> CheckUserLink(NetUserId userId)
254254
return false;
255255
}
256256

257-
private sealed record AccountLinkResponseParameters(string AccountLinkUrl);
258-
259-
private sealed record DiscordAuthInfoResponse(bool AccountLinked);
260-
261257
private static JsonSerializerOptions GetJsonSerializerOptions()
262258
{
263259
var opt = new JsonSerializerOptions
@@ -395,5 +391,9 @@ private static string CreateSecureRandomString(int count = 32)
395391

396392
return null;
397393
}
394+
395+
private sealed record AccountLinkResponseParameters(string AccountLinkUrl);
396+
397+
private sealed record DiscordAuthInfoResponse(bool AccountLinked);
398398
}
399399

0 commit comments

Comments
 (0)