Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
officert committed Jun 13, 2017
1 parent 2b974c1 commit d9a3d99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ client.events.verification({
### [Label User](https://siftscience.com/developers/docs/curl/labels-api/label-user)

```javascript
client.events.createByUserId('userId', {
client.labels.createByUserId('userId', {
$type: 'your custom event',
$is_bad : true,
$abuse_type: 'payment_abuse'
Expand All @@ -245,7 +245,7 @@ client.events.createByUserId('userId', {
### [Unlabel User](https://siftscience.com/developers/docs/curl/labels-api/unlabel-user)

```javascript
client.events.deleteByUserId('userId', {
client.labels.deleteByUserId('userId', {
$abuse_type: 'payment_abuse'
});
```

0 comments on commit d9a3d99

Please sign in to comment.