Skip to content

Commit

Permalink
Merge pull request #526 from equinor/68-reader-role
Browse files Browse the repository at this point in the history
add missing status code
  • Loading branch information
anneliawa authored Jul 26, 2023
2 parents 9e2d4c7 + 7ed0f8f commit 0147b91
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/applications/applications_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,8 @@ func (ac *applicationController) TriggerPipelineBuild(accounts models.Accounts,
// description: Successful trigger pipeline
// schema:
// "$ref": "#/definitions/JobSummary"
// "403":
// description: "Forbidden"
// "404":
// description: "Not found"
appName := mux.Vars(r)["appName"]
Expand Down Expand Up @@ -838,6 +840,8 @@ func (ac *applicationController) TriggerPipelineBuildDeploy(accounts models.Acco
// description: Successful trigger pipeline
// schema:
// "$ref": "#/definitions/JobSummary"
// "403":
// description: "Forbidden"
// "404":
// description: "Not found"
appName := mux.Vars(r)["appName"]
Expand Down Expand Up @@ -887,6 +891,8 @@ func (ac *applicationController) TriggerPipelineDeploy(accounts models.Accounts,
// description: Successful trigger pipeline
// schema:
// "$ref": "#/definitions/JobSummary"
// "403":
// description: "Forbidden"
// "404":
// description: "Not found"
appName := mux.Vars(r)["appName"]
Expand Down

0 comments on commit 0147b91

Please sign in to comment.