Set rider's api user. #617
This commit is contained in:
parent
ea2f0e639d
commit
ff5e747d7a
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ class CreateRiderAPIUserCommand extends Command
|
|||
$meta = ['rider_id' => $rider->getID()];
|
||||
$api_user->setMetaData($meta);
|
||||
|
||||
// set rider's api user
|
||||
$rider->setAPIUser($api_user);
|
||||
|
||||
$this->em->persist($api_user);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue