()
| 746 | } |
| 747 | |
| 748 | async getLabels(): Promise<ForgejoLabel[]> { |
| 749 | return this.requestAllPages<ForgejoLabel>(`${this.originRepoURL}/labels`, { |
| 750 | params: { limit: 100 }, |
| 751 | }); |
| 752 | } |
| 753 | |
| 754 | async createLabel(name: string, color = '0052cc'): Promise<ForgejoLabel> { |
| 755 | return this.request(`${this.originRepoURL}/labels`, { |
no test coverage detected