Skip to content

Commit 4f78cec

Browse files
Fixed node.js example
1 parent 0ff5c50 commit 4f78cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/includes/wp-api-v1/_introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ var WooCommerce = new WooCommerceAPI({
180180
url: 'http://example.com', // Your store URL
181181
consumerKey: 'consumer_key', // Your consumer key
182182
consumerSecret: 'consumer_secret', // Your consumer secret
183-
wp_api: true, // Enable the WP REST API integration
183+
wpAPI: true, // Enable the WP REST API integration
184184
version: 'wc/v1' // WooCommerce WP REST API version
185185
});
186186
```

0 commit comments

Comments
 (0)