mirror of
https://github.com/strapi/strapi.git
synced 2025-07-22 16:37:13 +00:00
12 lines
317 B
JavaScript
12 lines
317 B
JavaScript
![]() |
'use strict';
|
||
|
|
||
|
const sendDidInviteUser = async () => {
|
||
|
const numberOfUsers = await strapi.admin.services.user.count();
|
||
|
const numberOfRoles = await strapi.admin.services.role.count();
|
||
|
return strapi.telemetry.send('didInviteUser', { numberOfRoles, numberOfUsers });
|
||
|
};
|
||
|
|
||
|
module.exports = {
|
||
|
sendDidInviteUser,
|
||
|
};
|