Skip to content

Conversation

@erikjanwestendorp
Copy link
Contributor

Description

This PR belongs to: #6466.

  • Change UmbracoApiController to a default Controller
  • Delete obsolete warning

Type of suggestion

  • Typo/grammar fix
  • Updated outdated content
  • New content
  • Updates related to a new version
  • Other

Product & version (if relevant)

Umbraco CMS v14 & 15

@sofietoft
Copy link
Contributor

Thanks for the PR @erikjanwestendorp ! 🎉

I'll make sure we review this as soon as possible!

Copy link
Contributor

@sofietoft sofietoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been testing this now, and cannot get it to compile even without the changes you're making here.
It's complaining about the CreateResponse method 🤔

I think I might need to send this past our developers, for a check.

Any chance you ran into similar issues when testing?

@erikjanwestendorp
Copy link
Contributor Author

@sofietoft My bad.. 🐵, I didn't copy all my changes from my solution to the docs. Indeed you have to change the return type to IActionResult.. Just updated the PR.

@sofietoft
Copy link
Contributor

Ah, that happens! 😄 No worries.

Everything compiles now 👏 Thanks again for putting in the effort to help us get this updated!

I'll make sure it's merged!

@sofietoft sofietoft merged commit da3c6bd into umbraco:main Oct 9, 2024
1 check passed
@erikjanwestendorp erikjanwestendorp deleted the update-mapping branch October 9, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants