Skip to content

Commit 8d4d3b1

Browse files
bspellacythdaraujo
andauthored
Update README.md
Co-authored-by: Thiago Araujo <[email protected]>
1 parent 2459508 commit 8d4d3b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Preferences are how you route your orders in Patch. If you don't have a preferen
123123
```javascript
124124
// Create a preference
125125
const projectId = 'pro_test_1234'; // Pass in the project_id for your preference
126-
patch.preferences.create_preference((project_id: projectId));
126+
patch.preferences.createPreference((project_id: projectId));
127127

128128
// Retrieve a preference
129129
const preferenceId = 'pre_test_1234'; // Pass in the preferences's id

0 commit comments

Comments
 (0)