Skip to content

Fix: Params of type string not assignable to type number#73

Open
otobongfp wants to merge 1 commit into
angular-university:1-componentsfrom
otobongfp:1-components
Open

Fix: Params of type string not assignable to type number#73
otobongfp wants to merge 1 commit into
angular-university:1-componentsfrom
otobongfp:1-components

Conversation

@otobongfp

Copy link
Copy Markdown

No description provided.

@otobongfp

otobongfp commented Jun 16, 2024

Copy link
Copy Markdown
Author

I got an error on the findCourseById function in the save-course.route.ts - params returns a string to id and findCourseById expects a number, so I parsed the string to an integer.

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