mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-14 13:52:28 +00:00
Refactor deserialization and authentication (#550)
* Refactor deserialization and more * Refactor authentication flow * Fix unit tests * Make deserialization better
This commit is contained in:
parent
505b5eb03b
commit
b3a00da554
48 changed files with 575 additions and 589 deletions
|
@ -1,7 +1,6 @@
|
|||
#nullable enable
|
||||
using LBPUnion.ProjectLighthouse.Administration.Reports;
|
||||
using LBPUnion.ProjectLighthouse.PlayerData.Profiles;
|
||||
using LBPUnion.ProjectLighthouse.Types;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
|
@ -32,7 +31,7 @@ public class AdminReportController : ControllerBase
|
|||
report.JpegHash,
|
||||
report.GriefStateHash,
|
||||
};
|
||||
if(report.LevelType != "user")
|
||||
if (report.LevelType != "user")
|
||||
hashes.Add(report.InitialStateHash);
|
||||
foreach (string hash in hashes)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue