Fix typo showing error message after destroy page
What does this MR do?
In d8ce327c there was a small refactor to use ServiceResponse
in wiki controller actions. Nevertheless, there is a small typo/bug that, when there is an error deleting the page, we show the object string representation instead of the error message.
Screenshots (strongly suggested)
Before the MR:
After the MR:
Does this MR meet the acceptance criteria?
Conformity
-
I have included a changelog entry, or it's not needed. (Does this MR need a changelog?) -
I have properly separated EE content from FOSS, or this MR is FOSS only. (Where should EE code go?) -
I have self-reviewed this MR per code review guidelines. -
This MR does not harm performance, or I have asked a reviewer to help assess the performance impact. (Merge request performance guidelines) -
I have followed the style guides.