From caa47072575749a1b1353de65d3b9392f5753e85 Mon Sep 17 00:00:00 2001 From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com> Date: Fri, 28 Oct 2022 16:48:39 +0200 Subject: [PATCH] =?UTF-8?q?new=20r=C3=A9mi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/requests/cozy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/requests/cozy.js b/src/requests/cozy.js index ffb5a9e..d0be5b8 100644 --- a/src/requests/cozy.js +++ b/src/requests/cozy.js @@ -26,7 +26,7 @@ async function saveAccountData(accountId, accountData) { account = await updateOrCreate( [{ ...account, data: accountData }], 'io.cozy.accounts', - [], + ['account_type'], { sourceAccount: id } ) log('info', `saveAccountData account reply: ${JSON.stringify(account)}`) -- GitLab