Clean up for logging
This commit is contained in:
parent
faf4b312d0
commit
724c19d539
1 changed files with 0 additions and 2 deletions
|
|
@ -33,8 +33,6 @@ class ClientService
|
|||
try {
|
||||
\DB::connection(config('database.default'))->transaction(function () use($amount) {
|
||||
|
||||
nlog("inside transaction - updating balance by {$amount}");
|
||||
|
||||
$this->client = Client::withTrashed()->where('id', $this->client->id)->lockForUpdate()->first();
|
||||
$this->client->balance += $amount;
|
||||
$this->client->save();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue