trigger workflow

This commit is contained in:
Maidul Islam
2024-02-17 12:12:12 -05:00
parent b84579b866
commit c6c64b5499
@@ -20,6 +20,8 @@ import { PostHogEventTypes } from "@app/services/telemetry/telemetry-types";
import { secretRawSchema } from "../sanitizedSchemas"; import { secretRawSchema } from "../sanitizedSchemas";
// trigger workflow
const getDistinctId = (req: FastifyRequest) => { const getDistinctId = (req: FastifyRequest) => {
if (req.auth.actor === ActorType.USER) { if (req.auth.actor === ActorType.USER) {
return req.auth.user.email; return req.auth.user.email;