Skip to content

Commit 88f7b51

Browse files
committed
ci skip: improve example
1 parent 67ed1fe commit 88f7b51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ class MoviesAPI extends RESTDataSource {
4444
}
4545

4646
async getMovie(id) {
47-
return this.get({
48-
path: `/movies/${id}`,
47+
return this.get(`/movies/${id}`, {
4948
headers: {
5049
"X-Foo": "bar",
5150
},

0 commit comments

Comments
 (0)