1
0
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:
Kendall Arneaud 2024-07-27 11:47:31 -04:00 committed by GitHub
parent 608718eae3
commit 77a28b426e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);