Skip to content

Update syntax in bookController to match lesson#245

Merged
hamishwillee merged 1 commit intomdn:mainfrom
columk1:columk1-patch-1
Nov 26, 2023
Merged

Update syntax in bookController to match lesson#245
hamishwillee merged 1 commit intomdn:mainfrom
columk1:columk1-patch-1

Conversation

@columk1
Copy link
Contributor

@columk1 columk1 commented Nov 23, 2023

Description

Replaced syntax in the bookController file to to remove inconsistency and to match the syntax used in the tutorial.

Motivation

There were three different implementations of the same logic in the tutorial and project files. It was confusing for readers, since elsewhere in the tutorial the syntax is consistent when code is repeated.

Additional details

Related issues and pull requests

Relates to Issue #30443 mdn/content/issues/30443
Relates to PR #30476 mdn/content/pull/30476

@github-actions
Copy link

It looks like this is your first pull request. 🎉 Thank you for your contribution! One of the project maintainers will triage and assign the pull request for review. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

@hamishwillee
Copy link
Collaborator

Looks good. I plan to test this on Monday or Tuesday.

@hamishwillee
Copy link
Collaborator

Thanks. Looks good by inspection and also by testing.

@hamishwillee hamishwillee merged commit 42c19e3 into mdn:main Nov 26, 2023
@github-actions
Copy link

Congratulations on your first merged pull request. 🎉 Thank you for your contribution! Did you know we have a project board with high-impact contribution opportunities? We look forward to your next contribution.

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.

2 participants