From 2a7713fbfe8f7fffeb439c6030a0734ff9da90f6 Mon Sep 17 00:00:00 2001
From: "ext.sopra.yvallet@grandlyon.com" <ext.sopra.yvallet@grandlyon.com>
Date: Mon, 19 Oct 2020 17:47:56 +0200
Subject: [PATCH] add debug log

---
 main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go
index 7da6558..ac6daca 100644
--- a/main.go
+++ b/main.go
@@ -497,7 +497,7 @@ func main() {
 					// Check if AccessToken exist
 					// Decode the token and retrieve the pce from it
 					if len(data.AccessToken) > 0 {
-						log.Debug("Access Token : ", ata.AccessToken)
+						log.Debug("Access Token : ", data.AccessToken)
 						s := strings.Split(data.AccessToken, ".")
 						if len(s[1]) > 0 {
 							log.Debug("Split Access Token : ", s[1])
-- 
GitLab