lenra-io / server

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

fix: App Adapter Guard #565

Closed jonas-martinez closed 3 months ago

jonas-martinez commented 3 months ago

About this PR

There was an issue with credo since the last commit on the "main" branch. It did not run the Elixir CI so we did not see this error.

I just added a pattern match case to check for user == nil. Now credo does not report the refactoring opportunity.

Checklist

I included unit tests that cover my changes

I added/updated the documentation about my changes

taorepoara commented 3 months ago

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

The release is available on:

Your semantic-release bot :package::rocket: