From 184eb0013364704172297603338ee7015b736d52 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Sun, 2 Dec 2018 20:26:15 +0900 Subject: [PATCH] Remove self-assignment (#3476) --- src/server/api/endpoints/aggregation/hashtags.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);