diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index 6a5eba151..d8eb697b8 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -1129,7 +1129,7 @@ App::post('/v1/builds/:buildId') ->groups(['api', 'functions']) ->desc('Retry Build') ->label('scope', 'functions.write') - ->label('event', 'functions.tags.update') + ->label('event', 'functions.deployments.update') ->label('sdk.auth', [APP_AUTH_TYPE_SESSION, APP_AUTH_TYPE_KEY, APP_AUTH_TYPE_JWT]) ->label('sdk.namespace', 'functions') ->label('sdk.method', 'retryBuild')