Code fixed

This commit is contained in:
Yaojia Wang
2026-02-13 10:31:54 +01:00
parent 26d0c41203
commit f319c6e772
34 changed files with 18234 additions and 16670 deletions

View File

@@ -9,7 +9,7 @@ namespace FiscalFlow.API.Controllers;
[ApiController]
[Route("api/v1/invoices")]
[Authorize]
public class InvoicesController : ControllerBase
public partial class InvoicesController : ControllerBase
{
private readonly IMediator _mediator;
@@ -51,12 +51,6 @@ public class InvoicesController : ControllerBase
return Ok(new { success = true, data = result.Invoice });
}
private Guid GetUserId()
{
var userId = User.FindFirst(ClaimTypes.NameIdentifier)?.Value;
return Guid.Parse(userId!);
}
}
public class UploadInvoiceRequest