diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-12-02 20:26:15 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-02 20:26:15 +0900 |
| commit | 184eb0013364704172297603338ee7015b736d52 (patch) | |
| tree | fd1bb55271376b45e4e7db46736cc25154279f03 /src/server/api/endpoints/aggregation | |
| parent | [Client] Resolve #2596 (diff) | |
| download | sharkey-184eb0013364704172297603338ee7015b736d52.tar.gz sharkey-184eb0013364704172297603338ee7015b736d52.tar.bz2 sharkey-184eb0013364704172297603338ee7015b736d52.zip | |
Remove self-assignment (#3476)
Diffstat (limited to 'src/server/api/endpoints/aggregation')
| -rw-r--r-- | src/server/api/endpoints/aggregation/hashtags.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/aggregation/hashtags.ts b/src/server/api/endpoints/aggregation/hashtags.ts index f8fc7162f5..45d709f772 100644 --- a/src/server/api/endpoints/aggregation/hashtags.ts +++ b/src/server/api/endpoints/aggregation/hashtags.ts @@ -63,7 +63,7 @@ export default define(meta, (ps) => new Promise(async (res, rej) => { }); // タグを人気順に並べ替え - tags = tags.sort((a, b) => b.count - a.count); + tags.sort((a, b) => b.count - a.count); tags = tags.slice(0, 30); |