feat(mailerlite): add mailerlite integration

This commit is contained in:
Rıdvan Akca
2024-01-26 13:44:34 +03:00
parent 0297b0f296
commit 8ef2bd3b8d
9 changed files with 100 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
const addAuthHeader = ($, requestConfig) => {
if ($.auth.data?.apiKey) {
requestConfig.headers.Authorization = `Bearer ${$.auth.data.apiKey}`;
}
return requestConfig;
};
export default addAuthHeader;