Changing the identity of the logged-in admin with PATCH in this endpoint /admin/my-account will result in not finding it in the database anymore, throwing the following error
An unexpected error occurred; stack trace:
Error raised in file /var/www/html/apiTest/src/App/src/Middleware/AuthorizationMiddleware.php line 69:
Message: Call to a member function getStatus() on null
Changing the identity of the logged-in admin with PATCH in this endpoint /admin/my-account will result in not finding it in the database anymore, throwing the following error