Test controller, appsettings, additional field for user

This commit is contained in:
2021-10-13 13:32:40 -04:00
parent f075a09b72
commit de1f4c9b71
6 changed files with 40 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WebAPI.Data;
namespace WebAPI.Controllers
{
@@ -15,7 +16,7 @@ namespace WebAPI.Controllers
public async Task<string> HelloWorld()
{
await Task.Delay(5000);
return "Hello world!";
return AppSettings.PterodactylAPIKey;
}
}
}