Refactor UserTransformers (#423)

* remove AccountTransformer and update UserTransformer (client api) to match UserTransformer (application api)

* rename "toVueObject"

* fix tests

* forgot to rename this

* backwards compat

* fix tests
This commit is contained in:
Boy132
2024-06-23 16:33:18 +02:00
committed by GitHub
parent 5409532ca1
commit 70c31eef8f
9 changed files with 33 additions and 51 deletions

View File

@@ -83,7 +83,7 @@ abstract class AbstractLoginController extends Controller
'data' => [
'complete' => true,
'intended' => $this->redirectPath(),
'user' => $user->toVueObject(),
'user' => $user->toReactObject(),
],
]);
}