()
| 739 | } |
| 740 | |
| 741 | async getLabels(): Promise<ForgejoLabel[]> { |
| 742 | return this.requestAllPages<ForgejoLabel>(`${this.originRepoURL}/labels`, { |
| 743 | params: { limit: 100 }, |
| 744 | }); |
| 745 | } |
| 746 | |
| 747 | async createLabel(name: string, color = '0052cc'): Promise<ForgejoLabel> { |
| 748 | return this.request(`${this.originRepoURL}/labels`, { |
no test coverage detected