fix: Eslint offenses for JS files
This commit is contained in:
@@ -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';
|
||||
|
Reference in New Issue
Block a user