lenra-io / devtool

GNU Affero General Public License v3.0
5 stars 1 forks source link

fix: Webhooks trigger render error #215

Closed jonas-martinez closed 8 months ago

jonas-martinez commented 9 months ago

About this PR

Closes https://github.com/lenra-io/devtool/issues/214

The problem was coming from the fact that we did not have a default View to render our controller results. I simply added the default view BaseView from the lenra_common lib and now it properly works. No error is shown in the console when triggering a webhook.

I've also added a default error view "FallbackController" just in case.

Technical highlight/advice

How to test my changes

Checklist

I included unit tests that cover my changes

I added/updated the documentation about my changes

taorepoara commented 8 months ago

You should add a unit test to make sure that the problem won't come back

shiipou commented 8 months ago

:tada: This PR is included in version 1.2.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: