 Antoine GIRARDandLauris BH
|
38e799779f
|
api: fix multiple bugs with statuses endpoints (#7785) (#7807)
* fix commit statuses api url
* search refs before passing sha
* adjust tests
* directly search tags and branches names + remove un-needed check in NewCommitStatus
* fix comment
* de-duplicate code
* test: use relative setting.AppURL
* Update routers/api/v1/repo/status.go
Co-Authored-By: Lauris BH <[email protected]>
* remove return
* Update routers/api/v1/repo/status.go
Co-Authored-By: Lauris BH <[email protected]>
|
2019-08-09 16:18:46 +03:00 |
|