Skip to content

Commit

Permalink
feat: trigger in-app test
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed Jul 13, 2022
1 parent a793659 commit d90cabb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/src/controllers/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ router.post(
// if (body.event?.category === "IN_APP_CLICK" && body.event?.action === "COMMENT_CLICK") {
// return res.status(200).send({ ok: true });
// }
if (body.event?.category === "OPEN_TAB" && body.event?.action === "CALENDAR_OPEN") {
console.log(body);
if (body.event?.category === "APP" && body.event?.action === "APP_OPEN") {
console.log("la");
return res.status(200).send({
ok: true,
sendInApp: [
Expand Down

0 comments on commit d90cabb

Please sign in to comment.