Add hungarian language

This commit is contained in:
David Bomba 2023-06-14 08:14:14 +10:00
parent 5750af9ede
commit c6aac35605

View File

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