diff --git a/apps/meteor/client/views/admin/users/AddUser.js b/apps/meteor/client/views/admin/users/AddUser.js index 5aa3eb2cf9c9..79e523cee7f8 100644 --- a/apps/meteor/client/views/admin/users/AddUser.js +++ b/apps/meteor/client/views/admin/users/AddUser.js @@ -77,8 +77,8 @@ export function AddUser({ roles, onReload, ...props }) { [router], ); - const saveAction = useEndpointAction('POST', 'users.create', values, t('User_created_successfully!')); - const eventStats = useEndpointAction('POST', 'statistics.telemetry', { + const saveAction = useEndpointAction('POST', '/v1/users.create', values, t('User_created_successfully!')); + const eventStats = useEndpointAction('POST', '/v1/statistics.telemetry', { params: [{ eventName: 'updateCounter', settingsId: 'Manual_Entry_User_Count' }], });