Skip to content

Commit f2ed51e

Browse files
committed
changed example comments
1 parent 6976b51 commit f2ed51e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry/docs/create_campaign/examples.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ const auth = {
4949
request({
5050
url: "http://localhost:8005/v5/campaign",
5151
method: "POST",
52-
json: true, // <--Very important!!!
52+
json: true,
5353
body: JSON.stringify(valid_campaign)
5454
}, (err, res, body) => {
55-
console.log(res); // should be a Campaign object
55+
console.log(body); // should be a Campaign object
5656
});
5757

5858
// Request with a broken campaign

0 commit comments

Comments
 (0)