summaryrefslogtreecommitdiff
path: root/src/api/endpoints/my
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-01-23 14:53:46 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-01-23 14:53:46 +0900
commitb82eda5046119213e2a4adb8a46babd61bde50f8 (patch)
treee6f5170345af454fa486f786d369fbf3b2eb01ab /src/api/endpoints/my
parent[Client] Fix bug (diff)
downloadsharkey-b82eda5046119213e2a4adb8a46babd61bde50f8.tar.gz
sharkey-b82eda5046119213e2a4adb8a46babd61bde50f8.tar.bz2
sharkey-b82eda5046119213e2a4adb8a46babd61bde50f8.zip
[Server] Fix query performance
Diffstat (limited to 'src/api/endpoints/my')
-rw-r--r--src/api/endpoints/my/apps.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/my/apps.js b/src/api/endpoints/my/apps.js
index 3745a92e0f..818c636949 100644
--- a/src/api/endpoints/my/apps.js
+++ b/src/api/endpoints/my/apps.js
@@ -48,7 +48,7 @@ module.exports = (params, user) =>
limit: limit,
skip: offset,
sort: {
- created_at: -1
+ _id: -1
}
});