[fix] fedi followers

This commit is contained in:
les
2019-12-06 00:49:44 +01:00
parent 6de9ff8f74
commit 298b03421c
6 changed files with 27 additions and 17 deletions

View File

@@ -17,8 +17,8 @@ const instancesController = {
* get instance users
*/
async get (req, res) {
const fedi_users = await APUser.findAll({ where: { instanceDomain: req.params.instance_domain }, include: [Resource] })
return res.json(fedi_users)
const ap_users = await APUser.findAll({ where: { instanceDomain: req.params.instance_domain }, include: [Resource] })
return res.json(ap_users)
},
async toggleBlock (req, res) {