Skip to content

Commit

Permalink
update revision tag
Browse files Browse the repository at this point in the history
  • Loading branch information
vbelinschi committed Dec 12, 2024
1 parent 56f5f78 commit 36d4e1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ public async Task<ActionResult<IEnumerable<GridAreaDto>>> GetGridAreasAsync()
return Ok(response.GridAreas);
}

[HttpPost]
[EnableRevision(RevisionActivities.PublicGridAreasRetrieved, typeof(GridArea))]
[HttpPost("relevant")]
[EnableRevision(RevisionActivities.RelevantGridAreasRetrieved, typeof(GridArea))]
public async Task<ActionResult<IEnumerable<GridAreaDto>>> GetRelevantGridAreasAsync(GetRelevantGridAreasRequestDto getRelevantGridAreasRequest)
{
ArgumentNullException.ThrowIfNull(getRelevantGridAreasRequest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public static class RevisionActivities
public const string UserAuditLogViewed = "UserAuditLogViewed";

public const string PublicGridAreasRetrieved = "PublicGridAreasRetrieved";
public const string RelevantGridAreasRetrieved = "RelevantGridAreasRetrieved";
public const string GridAreaCreated = "GridAreaCreated";
public const string GridAreaEdited = "GridAreaEdited";
public const string GridAreaAuditLogViewed = "GridAreaAuditLogViewed";
Expand Down

0 comments on commit 36d4e1b

Please sign in to comment.