mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Update Aaru linked dependencies to v6.0.0-alpha.10.
This commit is contained in:
@@ -266,13 +266,13 @@ public sealed class UploadStatsController : ControllerBase
|
||||
foreach(MediaStats media in newstats.Medias)
|
||||
{
|
||||
Media? existing =
|
||||
await _ctx.Medias.FirstOrDefaultAsync(c => c.Type == media.type && c.Real == media.real);
|
||||
await _ctx.Medias.FirstOrDefaultAsync(c => c.Type == media.MediaType && c.Real == media.real);
|
||||
|
||||
if(existing == null)
|
||||
{
|
||||
_ctx.Medias.Add(new Media
|
||||
{
|
||||
Type = media.type,
|
||||
Type = media.MediaType,
|
||||
Real = media.real,
|
||||
Count = media.Value
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user