mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
run dotnet format
This commit is contained in:
parent
05989242f9
commit
ac2671452d
278 changed files with 1913 additions and 1808 deletions
|
|
@ -10,7 +10,7 @@ namespace PluralKit.API
|
|||
{
|
||||
[ApiController]
|
||||
[ApiVersion("1.0")]
|
||||
[Route( "v{version:apiVersion}/a" )]
|
||||
[Route("v{version:apiVersion}/a")]
|
||||
public class AccountController: ControllerBase
|
||||
{
|
||||
private readonly IDatabase _db;
|
||||
|
|
@ -27,7 +27,7 @@ namespace PluralKit.API
|
|||
var system = await _db.Execute(c => _repo.GetSystemByAccount(c, aid));
|
||||
if (system == null)
|
||||
return NotFound("Account not found.");
|
||||
|
||||
|
||||
return Ok(system.ToJson(User.ContextFor(system)));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue