fix: Eslint offenses for JS files

This commit is contained in:
Faruk AYDIN
2024-01-07 20:09:36 +01:00
parent 9ffe2c14df
commit 879aa1f9f8
15 changed files with 29 additions and 39 deletions

View File

@@ -1,4 +1,4 @@
const addAuthHeader = ($) => {
const addAuthHeader = ($, requestConfig) => {
if ($.auth.data?.apiKey) {
requestConfig.headers.Authorization = `Bearer ${$.auth.data.apiKey}`;
requestConfig.headers['carbone-version'] = '4';