Skip to content

Commit

Permalink
Merge pull request agola-io#143 from sgotti/gateway_fix_project_creat…
Browse files Browse the repository at this point in the history
…e_run_http_method

gateway: fix project create run http method
  • Loading branch information
sgotti authored Oct 22, 2019
2 parents fa10064 + acb7b39 commit 159661e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ func (g *Gateway) Run(ctx context.Context) error {
apirouter.Handle("/projects/{projectref}", authForcedHandler(deleteProjectHandler)).Methods("DELETE")
apirouter.Handle("/projects/{projectref}/reconfig", authForcedHandler(projectReconfigHandler)).Methods("PUT")
apirouter.Handle("/projects/{projectref}/updaterepolinkedaccount", authForcedHandler(projectUpdateRepoLinkedAccountHandler)).Methods("PUT")
apirouter.Handle("/projects/{projectref}/createrun", authForcedHandler(projectCreateRunHandler)).Methods("PUT")
apirouter.Handle("/projects/{projectref}/createrun", authForcedHandler(projectCreateRunHandler)).Methods("POST")

apirouter.Handle("/projectgroups/{projectgroupref}/secrets", authForcedHandler(secretHandler)).Methods("GET")
apirouter.Handle("/projects/{projectref}/secrets", authForcedHandler(secretHandler)).Methods("GET")
Expand Down

0 comments on commit 159661e

Please sign in to comment.