mirror of
https://github.com/TbT480jcspy/Deluxe-2023-Server-Code.git
synced 2026-09-08 14:41:26 -07:00
21 lines
498 B
C#
21 lines
498 B
C#
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace DeluxeNET.Controllers
|
|
{
|
|
[Route("[controller]")]
|
|
[ApiController]
|
|
public class accountprivacysettingsController : ControllerBase
|
|
{
|
|
[HttpGet("{playerid}")]
|
|
public IActionResult getAccountPrivacy([FromRoute] long playerid)
|
|
{
|
|
return Ok(new
|
|
{
|
|
accountId = playerid,
|
|
isRecentHistoryVisible = true
|
|
});
|
|
}
|
|
}
|
|
}
|