Skip to content

Commit

Permalink
Fix code block example
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed Oct 13, 2024
1 parent 4508030 commit 86ce403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ You can also define custom methods in the subclass to encapsulate common API cal
```ts
class CustomAPIClient extends APIClient {
async fetchUserData(id: number) {
let response = await this.get(\`/users/\${id}\`);
let response = await this.get(`/users/${id}`);
return response.json();
}
}
Expand Down

0 comments on commit 86ce403

Please sign in to comment.