mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-06-07 18:08:48 +00:00
Fix pipeline manual trigger on web (#1307)
Fixed broken `Run pipeline` button on repo Co-authored-by: Divya Jain <dvjn.dev+git@gmail.com>
This commit is contained in:
parent
76ecb9cd92
commit
dcedddb2f2
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export default class WoodpeckerClient extends ApiClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
createPipeline(owner: string, repo: string, options: BuildOptions): Promise<Pipeline> {
|
createPipeline(owner: string, repo: string, options: BuildOptions): Promise<Pipeline> {
|
||||||
return this._post(`/api/repos/${owner}/${repo}/pipeline`, options) as Promise<Pipeline>;
|
return this._post(`/api/repos/${owner}/${repo}/pipelines`, options) as Promise<Pipeline>;
|
||||||
}
|
}
|
||||||
|
|
||||||
getPipelineList(owner: string, repo: string, opts?: Record<string, string | number | boolean>): Promise<Pipeline[]> {
|
getPipelineList(owner: string, repo: string, opts?: Record<string, string | number | boolean>): Promise<Pipeline[]> {
|
||||||
|
|
Loading…
Reference in a new issue