gothinkster / spring-boot-realworld-example-app

Example Spring codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.
MIT License
1.31k stars 680 forks source link

Fix internal server error when updating title #37

Closed callmemarv closed 3 years ago

callmemarv commented 3 years ago

Updating the title of an article updates the slug in the background. Retrieving the updated article with the old slug results in an internal server error. The proposed change uses the updated slug instead.

aisensiy commented 3 years ago

Thanks for the PR but there is a import lost in the ArticleApi. Please add the Article import and I will merge the PR 😃

callmemarv commented 3 years ago

That's what you get for using the GitHub-Editor. 🙈 Sorry for the inconvenience! I added the missing imports.