Skip to content

Commit

Permalink
Fix single use code
Browse files Browse the repository at this point in the history
  • Loading branch information
enjinabner committed Nov 14, 2024
1 parent 9ac22cb commit 9ac4180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/BeamService.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public function claim(string $code, string $wallet, ?string $idempotencyKey = nu
->first()) {
throw new BeamException(__('enjin-platform-beam::error.beam_not_found', ['code' => $code]));
}
$singleUseCode = $singleUse->claimCode;
$singleUseCode = $code;
$code = $singleUse->beamCode;
}

Expand Down

0 comments on commit 9ac4180

Please sign in to comment.