Cleanup unused bits and pieces (#10349)
This commit is contained in:
committed by
GitHub
parent
dfc5a36817
commit
1585d157c1
@@ -48,7 +48,7 @@ export default class GithubMilestone extends GithubAuthV3Service {
|
||||
color: 'informational',
|
||||
}
|
||||
|
||||
static render({ user, repo, variant, milestones }) {
|
||||
static render({ variant, milestones }) {
|
||||
const milestoneLength = milestones.length
|
||||
let color
|
||||
let qualifier = ''
|
||||
@@ -84,6 +84,6 @@ export default class GithubMilestone extends GithubAuthV3Service {
|
||||
|
||||
async handle({ user, repo, variant }) {
|
||||
const milestones = await this.fetch({ user, repo, variant })
|
||||
return this.constructor.render({ user, repo, variant, milestones })
|
||||
return this.constructor.render({ variant, milestones })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user