From 797f70689539add5d9a891f8234a29b29a79cf3d Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 13 Apr 2026 21:57:37 +0000
Subject: [PATCH] Synchronize client's email & phone
---
src/wFirmaApiFactory.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wFirmaApiFactory.php b/src/wFirmaApiFactory.php
index 1ddcc70..70c1a9a 100644
--- a/src/wFirmaApiFactory.php
+++ b/src/wFirmaApiFactory.php
@@ -3,7 +3,7 @@
namespace SIPL\UCRM\wFirma;
class wFirmaApiFactory {
- protected $ucrmHelper;
+ protected UcrmHelper $ucrmHelper;
function __construct(UcrmHelper $ucrmHelper) {
$this->ucrmHelper = $ucrmHelper;
@@ -11,7 +11,7 @@
function create(): \Webit\WFirmaSDK\Entity\ModuleApiFactory {
$config = $this->ucrmHelper->getConfig();
- $wFirmaAuth = new \Webit\WFirmaSDK\Auth\BasicAuth($config['wfirma_username'], $config['wfirma_password']);
+ $wFirmaAuth = new \Webit\WFirmaSDK\Auth\ApiKeysAuth($config['wfirma_access_key'], $config['wfirma_secret_key'], $config['wfirma_app_key']);
$wFirmaEntityApiFactory = new \Webit\WFirmaSDK\Entity\EntityApiFactory();
$wFirmaEntityApi = $wFirmaEntityApiFactory->create($wFirmaAuth);
--
Gitblit v1.10.0