Skip to content

Commit 53f2a83

Browse files
Fix actions examples (#45)
1 parent 2e0cf7f commit 53f2a83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ var action = {
466466
}
467467
};
468468
// Send the Action
469-
apiClient.sendAction(new ActionModel(action), function(error, response, context) {
469+
apiClient.sendAction(new moesifapi.ActionModel(action), function(error, response, context) {
470470
// Do Something
471471
});
472472
```
@@ -533,8 +533,8 @@ var actionB = {
533533
};
534534

535535
var actions = [
536-
new ActionModel(actionA),
537-
new ActionModel(actionB)
536+
new moesifapi.ActionModel(actionA),
537+
new moesifapi.ActionModel(actionB)
538538
];
539539
// Send the batch of Actions
540540
apiClient.sendActionsBatch(actions, function(error, response, context) {

0 commit comments

Comments
 (0)