Skip to content

Commit

Permalink
[Synthetics] Fix overview trends for read-only user !! (#202914)
Browse files Browse the repository at this point in the history
## Summary

Fix overview trends for read-only user , we wrongly assume that this
`POST` route needs write permission.
  • Loading branch information
shahzad31 authored Dec 4, 2024
1 parent cf7ce61 commit 16817cc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export async function fetchTrends(

export const createOverviewTrendsRoute: SyntheticsRestApiRouteFactory = () => ({
method: 'POST',
writeAccess: false,
path: SYNTHETICS_API_URLS.OVERVIEW_TRENDS,
validate: {
body: schema.arrayOf(
Expand Down

0 comments on commit 16817cc

Please sign in to comment.