forked from AcaMate/AcaMate_API
[♻️] 로그 종류 수정
This commit is contained in:
parent
50f740aa4b
commit
1f8ac2cff7
|
@ -268,7 +268,7 @@ public class UserController : ControllerBase
|
|||
logUser.log = $"[{summary}] : 정상";
|
||||
|
||||
if (await _repositoryService.SaveData<LogUser>(logUser))
|
||||
_logger.LogError($"[{summary}] : 로그 저장 성공");
|
||||
_logger.LogInformation($"[{summary}] : 로그 저장 성공");
|
||||
|
||||
return Ok(APIResponse.Send("000", $"[{summary}], 정상", new
|
||||
{
|
||||
|
@ -301,6 +301,7 @@ public class UserController : ControllerBase
|
|||
{
|
||||
if (string.IsNullOrEmpty(token)) return BadRequest(APIResponse.InvalidInputError());
|
||||
if (!ModelState.IsValid) return BadRequest(APIResponse.InvalidInputError());
|
||||
|
||||
string summary = String.Empty;
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user