Skip to content

Commit be1880c

Browse files
set authorization into ActivityLogController
1 parent 4cfa276 commit be1880c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

taskmaster-api/Controllers/ActivityLogController.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Microsoft.AspNetCore.Http;
1+
using Microsoft.AspNetCore.Authorization;
2+
using Microsoft.AspNetCore.Http;
23
using Microsoft.AspNetCore.Mvc;
34
using taskmaster_api.Data.DTOs;
45
using taskmaster_api.Services.Interface;
@@ -7,6 +8,7 @@ namespace taskmaster_api.Controllers
78
{
89
[Route("api/[controller]")]
910
[ApiController]
11+
[Authorize]
1012
public class ActivityLogController : ApplicationControllerBase
1113
{
1214
private readonly IActivityLogService _activityLogService;

0 commit comments

Comments
 (0)