Skip to content

Commit 2e0cf7f

Browse files
Snake case convert txn IDs and action names (#44)
1 parent e150ba7 commit 2e0cf7f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

lib/Models/ActionModel.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ var ActionModel = function (obj) {
3838
this._variableDict["userId"] = "user_id";
3939
this._variableDict["companyId"] = "company_id";
4040
this._variableDict["sessionToken"] = "session_token";
41+
this._variableDict["transactionId"] = "transaction_id";
42+
this._variableDict["actionName"] = "action_name";
4143
};
4244

4345
ActionModel.prototype = new BaseModel();

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "moesifapi",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"description": "Collection/Data Ingestion API for Moesif",
55
"main": "./lib/index.js",
66
"keywords": [

0 commit comments

Comments
 (0)