Corrected the telemetery event name

This commit is contained in:
Vladyslav Matsiiako
2023-01-12 22:12:23 -08:00
parent efd5016977
commit 61f767e895

View File

@ -203,7 +203,7 @@ export const getSecrets = async (req: Request, res: Response) => {
if (postHogClient) {
postHogClient.capture({
event: 'secrets added',
event: 'secrets pulled',
distinctId: req.user.email,
properties: {
numberOfSecrets: secrets.length,