mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 08:28:39 +00:00
Apply suggestions from code review
Co-authored-by: Josh <josh@slendy.pw>
This commit is contained in:
parent
d34e6a7b1c
commit
1e598d49bb
1 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@ public class LoginController : ControllerBase
|
|||
{
|
||||
this.database = database;
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> Login()
|
||||
{
|
||||
|
@ -70,7 +69,7 @@ public class LoginController : ControllerBase
|
|||
switch (npTicket.Platform)
|
||||
{
|
||||
case Platform.RPCS3:
|
||||
user = await database.Users.FirstOrDefaultAsync(u => u.LinkedRpcnId == npTicket.UserId);
|
||||
user = await this.database.Users.FirstOrDefaultAsync(u => u.LinkedRpcnId == npTicket.UserId);
|
||||
break;
|
||||
case Platform.PS3:
|
||||
case Platform.Vita:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue