From da4655df3281e29d83c84e79c042d5f088ba427c Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Tue, 25 Jan 2022 03:17:10 +0400 Subject: [PATCH] feat: update retry build endpoint --- app/controllers/api/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')