mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 11:03:08 +02:00
[API] Fix #3737
This commit is contained in:
parent
af5839bb59
commit
b6a028a8ed
1 changed files with 2 additions and 2 deletions
|
@ -52,9 +52,9 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
|
|||
_sort = {
|
||||
length: -1
|
||||
};
|
||||
} else if (ps.sort == '+size') {
|
||||
} else if (ps.sort == '-size') {
|
||||
_sort = {
|
||||
length: -1
|
||||
length: 1
|
||||
};
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue