Skip to content

Commit

Permalink
Apply query controller for Audit and Queue Log
Browse files Browse the repository at this point in the history
  • Loading branch information
truongtphat committed Aug 28, 2023
1 parent 17e94ec commit 88259c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Mixcore.sln
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "level_1", "level_1", "{B4C4
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "mix.log.lib", "platform\mix.log\mix.log.lib.csproj", "{BC6B8583-4F0F-45AD-BF71-1D998AA65869}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "mix.log", "modules\mix.queue.log\mix.log.csproj", "{F37BBDB4-EB48-42E4-8CB1-D459F5EF3C3F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "mix.log", "modules\mix.log\mix.log.csproj", "{F37BBDB4-EB48-42E4-8CB1-D459F5EF3C3F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
2 changes: 1 addition & 1 deletion src/modules/mix.log/Controllers/MixAuditLogController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Mix.Log.Controllers
[ApiController]
[MixAuthorize(MixRoles.Owner)]
public class AuditLogController
: MixRestfulApiControllerBase<AuditLogViewModel, AuditLogDbContext, AuditLog, Guid>
: MixQueryApiControllerBase<AuditLogViewModel, AuditLogDbContext, AuditLog, Guid>
{
public AuditLogController(
IHttpContextAccessor httpContextAccessor,
Expand Down
2 changes: 1 addition & 1 deletion src/modules/mix.log/Controllers/MixQueueLogController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Mix.Log.Controllers
[Route("api/v2/rest/mix-log/queue-log")]
[ApiController]
[MixAuthorize(MixRoles.Owner)]
public class MixQueueLogController : MixRestfulApiControllerBase<MixQueueMessageLogViewModel, MixQueueDbContext, MixQueueMessageLog, Guid>
public class MixQueueLogController : MixQueryApiControllerBase<MixQueueMessageLogViewModel, MixQueueDbContext, MixQueueMessageLog, Guid>
{
public MixQueueLogController(
IHttpContextAccessor httpContextAccessor,
Expand Down

0 comments on commit 88259c8

Please sign in to comment.