From 90cfb5507495bd968d9990f6c7fc4272214de2e0 Mon Sep 17 00:00:00 2001
From: build-token <build-token>
Date: Wed, 11 Jan 2023 16:14:16 +0000
Subject: [PATCH] publish: fix: used axios instead of node-fetch

generated from commit 78f64adafa6728d79987f91ddd1c0a22ea8b5e67
---
 index.js | 2 --
 1 file changed, 2 deletions(-)

diff --git a/index.js b/index.js
index 0cc7767..1e65570 100644
--- a/index.js
+++ b/index.js
@@ -89,7 +89,6 @@ async function start(fields, cozyParameters) {
     // const apiAuthKey = fields.eglAPIAuthKey
     const baseUrl = cozyParameters.secret.eglBaseURL
     const apiAuthKey = cozyParameters.secret.eglAPIAuthKey
-
     log('info', 'Authenticating ...')
     const response = await authenticate(
       fields.login,
@@ -224,7 +223,6 @@ async function authenticate(login, password, baseUrl, apiAuthKey) {
       throw new Error()
     }
   } catch (error) {
-    log('error', error)
     throw new Error(errors.LOGIN_FAILED)
   }
 }
-- 
GitLab