Skip to content
Snippets Groups Projects
Commit 500cb668 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

fix: isFirstStart

parent 97adc905
No related branches found
No related tags found
No related merge requests found
Pipeline #40344 passed
...@@ -534,7 +534,7 @@ async function agregateMonthAndYearData(data) { ...@@ -534,7 +534,7 @@ async function agregateMonthAndYearData(data) {
* @returns {boolean} * @returns {boolean}
*/ */
function isFirstStart(account) { function isFirstStart(account) {
if (account?.data?.consentId) { if (account && account.data && account.data.consentId) {
log('info', 'Konnector not first start') log('info', 'Konnector not first start')
return false return false
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment