expose user_id on company token transformer:

This commit is contained in:
David Bomba 2020-07-06 08:21:39 +10:00
parent e4dcb3ef6f
commit 09e1043c13
2 changed files with 15 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class CompanyTokenTransformer extends EntityTransformer
{
return [
'id' => $this->encodePrimaryKey($company_token->id),
'user_id' => $this->encodePrimaryKey($company_token->user_id),
'token' => $company_token->token,
'name' => $company_token->name ?: '',
'updated_at' => (int)$company_token->updated_at,

14
composer.lock generated
View File

@ -1089,6 +1089,20 @@
"sqlserver",
"sqlsrv"
],
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
"type": "custom"
},
{
"url": "https://www.patreon.com/phpdoctrine",
"type": "patreon"
},
{
"url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdbal",
"type": "tidelift"
}
],
"time": "2020-04-20T17:19:26+00:00"
},
{