Created
July 29, 2016 20:02
-
-
Save marr/08a10782d2c7f34209835b9278b68621 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