Created
July 29, 2016 20:02
-
-
Save marr/51f75e57bf5facacf382e1da2a9eaaf1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| async trackEvent({ category, action, label, value }) { | |
| await this.db('events').insert({ | |
| category, | |
| action, | |
| label, | |
| value | |
| }); | |
| return this.db.destroy(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment