Test controller, appsettings, additional field for user
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user