mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Allow anonymous access to authored files list
This commit is contained in:
parent
452f86499e
commit
ddeea0bb4b
@ -154,6 +154,7 @@ namespace Wabbajack.BuildServer.Controllers
|
||||
|
||||
|
||||
[HttpGet]
|
||||
[AllowAnonymous]
|
||||
[Route("")]
|
||||
public async Task<ContentResult> UploadedFilesGet()
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user