Remove self-assignment (#3476)
This commit is contained in:
parent
e264a49b08
commit
184eb00133
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue