Răsfoiți Sursa

fix role perms (#4663)

Feroze Mohideen 2 ani în urmă
părinte
comite
1aff0a9a0f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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,