Minor - remove constant, PLATFORM_AUTH_SOURCE value by default.

pull/3016/head
Julio Montoya 5 years ago
parent 94a4799f9a
commit 87f84128ea
  1. 4
      src/GraphQlBundle/Map/MutationMap.php

@ -309,7 +309,7 @@ class MutationMap extends ResolverMap implements ContainerAwareInterface
$language,
$phone,
null,
PLATFORM_AUTH_SOURCE,
null,
$expirationDate,
$userInput['isActive']
);
@ -681,7 +681,7 @@ class MutationMap extends ResolverMap implements ContainerAwareInterface
!empty($userInput['lastname']) ? $userInput['lastname'] : $user->getLastname(),
!empty($userInput['username']) ? $userInput['username'] : $user->getUsername(),
null,
PLATFORM_AUTH_SOURCE,
null,
!empty($userInput['email']) ? $userInput['email'] : $user->getEmail(),
!empty($userInput['status']) ? $userInput['status'] : $user->getStatus(),
!empty($userInput['officialCode']) ? $userInput['officialCode'] : $user->getOfficialCode(),

Loading…
Cancel
Save