1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-13 06:09:05 +09:00

Remove self-assignment (#3476)

This commit is contained in:
Aya Morisawa 2018-12-02 20:26:15 +09:00 committed by GitHub
parent e264a49b08
commit 184eb00133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);