diff --git a/api/src/api/me.js b/api/src/api/me.js index 2fb8f20..0cdfa2b 100644 --- a/api/src/api/me.js +++ b/api/src/api/me.js @@ -88,6 +88,9 @@ module.exports = { to: uactor, from: { $in: actors }, }).toArray() + for (var i in quizs) + quizs[i].from = await api.accounts.getAccount(quizs[i].from) + return res.json(quizs) }], },