Skip to content

Commit 2735f09

Browse files
committed
audit logs fixes
1 parent 3b1de9f commit 2735f09

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

postman/dotnet.webapi.boilerplate.postman_collection.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,12 @@
211211
"method": "GET",
212212
"header": [],
213213
"url": {
214-
"raw": "{{url}}/audits/",
214+
"raw": "{{url}}/audit-logs",
215215
"host": [
216216
"{{url}}"
217217
],
218218
"path": [
219-
"audits",
220-
""
219+
"audit-logs"
221220
]
222221
}
223222
},

src/Bootstrapper/Controllers/Identity/AuditsController.cs renamed to src/Bootstrapper/Controllers/Identity/AuditLogsController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
namespace DN.WebApi.Bootstrapper.Controllers.Identity
1010
{
1111
[ApiController]
12-
[Route("api/[controller]")]
13-
public class AuditsController : ControllerBase
12+
[Route("api/audit-logs")]
13+
public class AuditLogsController : ControllerBase
1414
{
1515
private readonly ICurrentUser _user;
1616
private readonly IAuditService _auditService;
1717

18-
public AuditsController(IAuditService auditService, ICurrentUser user)
18+
public AuditLogsController(IAuditService auditService, ICurrentUser user)
1919
{
2020
_auditService = auditService;
2121
_user = user;

0 commit comments

Comments
 (0)