Selaa lähdekoodia

fix role perms (#4663)

Feroze Mohideen 2 vuotta sitten
vanhempi
sitoutus
1aff0a9a0f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      api/server/router/porter_app.go

+ 1 - 1
api/server/router/porter_app.go

@@ -1738,7 +1738,7 @@ func getPorterAppRoutes(
 	// GET /api/projects/{project_id}/clusters/{cluster_id}/apps/{porter_app_name}/events/id -> porter_app.NewGetPorterAppEventHandler
 	getPorterAppEventEndpoint := factory.NewAPIEndpoint(
 		&types.APIRequestMetadata{
-			Verb:   types.APIVerbCreate,
+			Verb:   types.APIVerbGet,
 			Method: types.HTTPVerbGet,
 			Path: &types.Path{
 				Parent:       basePath,