Allow anonymous access to authored files list

This commit is contained in:
Timothy Baldridge 2020-06-03 15:04:18 -06:00
parent 452f86499e
commit ddeea0bb4b
2 changed files with 3 additions and 0 deletions

View File

@ -154,6 +154,7 @@ namespace Wabbajack.BuildServer.Controllers
[HttpGet]
[AllowAnonymous]
[Route("")]
public async Task<ContentResult> UploadedFilesGet()
{

View File

@ -7,6 +7,7 @@ using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Nettle;
using Wabbajack.Common;
using Wabbajack.Common.Serialization.Json;
using Wabbajack.Lib.ModListRegistry;
using Wabbajack.Server.DataLayer;
using Wabbajack.Server.DTOs;
@ -124,6 +125,7 @@ namespace Wabbajack.BuildServer.Controllers
.FirstOrDefault(d => d.MachineName == Name);
}
[JsonName("Badge")]
public class Badge
{
public int schemaVersion { get; set; } = 1;