(user)
| 48 | } |
| 49 | |
| 50 | async isCollaborator(user) { |
| 51 | try { |
| 52 | return (await this.axios.get(`/collaborators/${user}`)).status === 204; |
| 53 | } catch (e) { |
| 54 | |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | async deleteLabel(issue, label) { |
| 59 | return (await this.axios.delete(`/issues/${issue}/labels/${label}`)).data; |