Unify order of more services (#3358)

Ref #3353
This commit is contained in:
Paul Melnikow
2019-04-24 15:08:26 -04:00
committed by GitHub
parent 1dd8d1329c
commit f8aeb56129
76 changed files with 1298 additions and 1308 deletions

View File

@@ -22,13 +22,6 @@ module.exports = class GithubFollowers extends GithubAuthService {
}
}
static render({ followers }) {
return {
message: metric(followers),
color: '4183C4',
}
}
static get examples() {
return [
{
@@ -51,6 +44,13 @@ module.exports = class GithubFollowers extends GithubAuthService {
}
}
static render({ followers }) {
return {
message: metric(followers),
color: '4183C4',
}
}
async handle({ user }) {
const { followers } = await this._requestJson({
url: `/users/${user}`,