1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00

Ensure api credentials are camelCase

This commit is contained in:
David Bomba 2024-07-28 08:55:50 +10:00
parent 5da3b15f0f
commit c92cf48161
2 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,8 @@ return new class extends Migration
if(!Gateway::find(63)) {
$configuration = new \stdClass;
$configuration->api_key = '';
$configuration->test_mode = true;
$configuration->apiKey = '';
$configuration->testMode = true;
$gateway = new Gateway();
$gateway->id = 63;

View File

@ -88,7 +88,7 @@ class PaymentLibrariesSeeder extends Seeder
['id' => 60, 'name' => 'PayPal REST', 'provider' => 'PayPal_Rest', 'key' => '80af24a6a691230bbec33e930ab40665', 'fields' => '{"clientId":"","secret":"","signature":"","testMode":false}'],
['id' => 61, 'name' => 'PayPal Platform', 'provider' => 'PayPal_PPCP', 'key' => '80af24a6a691230bbec33e930ab40666', 'fields' => '{"testMode":false}'],
['id' => 62, 'name' => 'BTCPay', 'provider' => 'BTCPay', 'key' => 'vpyfbmdrkqcicpkjqdusgjfluebftuva', 'fields' => '{"btcpayUrl":"", "apiKey":"", "storeId":"", "webhookSecret":""}'],
['id' => 63, 'name' => 'Rotessa', 'is_offsite' => false, 'sort_order' => 22, 'provider' => 'Rotessa', 'key' => '91be24c7b792230bced33e930ac61676', 'fields' => '{"api_key":"", "test_mode":""}'],
['id' => 63, 'name' => 'Rotessa', 'is_offsite' => false, 'sort_order' => 22, 'provider' => 'Rotessa', 'key' => '91be24c7b792230bced33e930ac61676', 'fields' => '{"apiKey":"", "testMode":""}'],
];
foreach ($gateways as $gateway) {