mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Update PaymentMethod.php
remove id from sql Signed-off-by: Kendall Arneaud <kendall.arneaud@gmail.com>
This commit is contained in:
parent
608718eae3
commit
77a28b426e
@ -151,7 +151,6 @@ class PaymentMethod implements MethodInterface
|
||||
->where('company_gateway_id', $this->rotessa->company_gateway->id)
|
||||
->where('client_id', $this->rotessa->client->id)
|
||||
->where('token', $request->input('source'))
|
||||
->where('id', $this->decodePrimaryKey($request->input('source')))
|
||||
->first();
|
||||
if(!$customer) throw new \Exception('Client gateway token not found!', 605);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user