Skip to content

Commit

Permalink
Change to forceFill. Fixes #908. (#1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
garbetjie authored May 12, 2020
1 parent 367dc44 commit 789bfe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridge/AuthCodeRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity)
'expires_at' => $authCodeEntity->getExpiryDateTime(),
];

Passport::authCode()->setRawAttributes($attributes)->save();
Passport::authCode()->forceFill($attributes)->save();
}

/**
Expand Down

0 comments on commit 789bfe1

Please sign in to comment.