fix display event name

This commit is contained in:
Matthias Nannt
2023-04-20 12:50:52 +02:00
parent d889775c56
commit 5e6ac0a141
@@ -80,7 +80,7 @@ export default async function handle(req: NextApiRequest, res: NextApiResponse)
const displayData = await prisma.display.create(createBody);
if (teamOwnerId) {
await capturePosthogEvent(teamOwnerId, "response created", teamId, {
await capturePosthogEvent(teamOwnerId, "display created", teamId, {
surveyId,
});
} else {