We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c238042 commit ff349afCopy full SHA for ff349af
taskmaster-api/Controllers/AttachmentController.cs
@@ -1,4 +1,5 @@
1
-using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Authorization;
2
+using Microsoft.AspNetCore.Http;
3
using Microsoft.AspNetCore.Mvc;
4
using taskmaster_api.Data.DTOs;
5
using taskmaster_api.Services.Interface;
@@ -7,6 +8,7 @@ namespace taskmaster_api.Controllers
7
8
{
9
[Route("api/[controller]")]
10
[ApiController]
11
+ [Authorize]
12
public class AttachmentController : ApplicationControllerBase
13
14
private readonly IAttachmentService _attachmentService;
0 commit comments