Skip to content

Commit a709ae0

Browse files
Make example code less absurd
1 parent b9b7170 commit a709ae0

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
@@ -16,7 +16,7 @@ const resource = new ResourceClient({
1616
});
1717

1818
resource.all()
19-
.then(widgets => widgets);
19+
.then(response => console.log(response.data));
2020

2121
resource.create({
2222
attributes: {

0 commit comments

Comments
 (0)