mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-04 18:21:06 +02: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
@ -59,7 +59,7 @@ export default class WoodpeckerClient extends ApiClient {
|
||||
}
|
||||
|
||||
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[]> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user