From 41ea349ebdee598070941f0d6723a5b30573f759 Mon Sep 17 00:00:00 2001 From: Raul Casallas Date: Mon, 11 Oct 2021 11:28:04 -0500 Subject: [PATCH] Add auth headers --- src/tag-client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tag-client.js b/src/tag-client.js index 5e74310..351c9da 100644 --- a/src/tag-client.js +++ b/src/tag-client.js @@ -30,7 +30,7 @@ class TagClient{ logger.debug(`getAllTags() GET ${this.baseURL}`); return axios.get( this.baseURL, - //{headers: {'Authorization':`ApiKey ${this.apiKey}`}} + {headers: {'Authorization':`ApiKey ${this.apiKey}`}} ) .then( ( response )=>{ @@ -58,7 +58,7 @@ class TagClient{ logger.debug(`getTagsAndModels(${tagsId}) GET ${requestURL}`); return axios.get( requestURL, - //{headers: {'Authorization':`ApiKey ${this.apiKey}`}} + {headers: {'Authorization':`ApiKey ${this.apiKey}`}} ) .then( ( response )=>{