trigger workflow

This commit is contained in:
Maidul Islam
2024-02-17 12:12:12 -05:00
parent b84579b866
commit c6c64b5499

View File

@@ -20,6 +20,8 @@ import { PostHogEventTypes } from "@app/services/telemetry/telemetry-types";
import { secretRawSchema } from "../sanitizedSchemas";
// trigger workflow
const getDistinctId = (req: FastifyRequest) => {
if (req.auth.actor === ActorType.USER) {
return req.auth.user.email;