Skip to content

Fixed doGetUser example function name#319

Open
Beanalby wants to merge 1 commit intorwieruch:masterfrom
Beanalby:patch-1
Open

Fixed doGetUser example function name#319
Beanalby wants to merge 1 commit intorwieruch:masterfrom
Beanalby:patch-1

Conversation

@Beanalby
Copy link

@Beanalby Beanalby commented Jun 8, 2024

In the "JavaScript Fake REST API" example for the singular "getUser", the function to make use of it is called "doGetUsers", plural, even though it takes an id and returns one user.

Changed the plurality to match the function it's invoking to avoid confusion.

In the "JavaScript Fake REST API" example for the singular "getUser", the function to make use of it is called "doGetUsers", plural, even though it takes an id and returns one user.
Changed the plurality to match the function it's invoking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant