Skip to content

Commit

Permalink
feat: moengage source (#1846)
Browse files Browse the repository at this point in the history
* Add Moengage as a source on RudderStack

* Handled batch events in transformer

* chore: add test cases

* chore: add test cases in new format and remove old test cases
---------

Co-authored-by: shreyas-pi-engg <[email protected]>
Co-authored-by: Mihir Bhalala <[email protected]>
  • Loading branch information
3 people authored Feb 14, 2023
1 parent 462bba9 commit 123a2d9
Show file tree
Hide file tree
Showing 2 changed files with 744 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/v0/sources/moengage/transform.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
function process(events) {
if (events.batch) {
return events.batch;
}
return events;
}

exports.process = process;
Loading

0 comments on commit 123a2d9

Please sign in to comment.