mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add hungarian language
This commit is contained in:
parent
5750af9ede
commit
c6aac35605
@ -155,6 +155,7 @@ class Ninja
|
|||||||
|
|
||||||
public static function triggerForwarding(string $company_key, string $email)
|
public static function triggerForwarding(string $company_key, string $email)
|
||||||
{
|
{
|
||||||
|
try {
|
||||||
Http::withHeaders([
|
Http::withHeaders([
|
||||||
'X-API-HOSTED-SECRET' => config('ninja.ninja_hosted_secret'),
|
'X-API-HOSTED-SECRET' => config('ninja.ninja_hosted_secret'),
|
||||||
])->post(config('ninja.license_url').'/api/v1/enable_forwarding', [
|
])->post(config('ninja.license_url').'/api/v1/enable_forwarding', [
|
||||||
@ -162,6 +163,10 @@ class Ninja
|
|||||||
'email' => $email,
|
'email' => $email,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
catch (\Exception $e) {
|
||||||
|
nlog("attempt forwarding for{$email} - {$company_key}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public function createLicense($request)
|
public function createLicense($request)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user