import { getMonthlyActiveUsers } from '../db/Users' /** * Return content for embedding * @type {import('express').RequestParamHandler} */ export const instance = async (req, res) => { const activeUsers = await getMonthlyActiveUsers() res.json({ 'domain': 'juick.com', 'title': 'Microblogging service', 'description': 'Juick', 'version': '2.x', 'contact': { 'email': 'support@juick.com' }, 'usage': { 'users': { 'active_month': activeUsers } } }) }