summaryrefslogtreecommitdiff
path: root/src/api/endpoints/my/apps.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/endpoints/my/apps.ts')
-rw-r--r--src/api/endpoints/my/apps.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/endpoints/my/apps.ts b/src/api/endpoints/my/apps.ts
index eb9c758768..fe583db86a 100644
--- a/src/api/endpoints/my/apps.ts
+++ b/src/api/endpoints/my/apps.ts
@@ -3,7 +3,7 @@
*/
import $ from 'cafy';
import App from '../../models/app';
-import serialize from '../../serializers/app';
+import { pack } from '../../models/app';
/**
* Get my apps
@@ -37,5 +37,5 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
// Reply
res(await Promise.all(apps.map(async app =>
- await serialize(app))));
+ await pack(app))));
});