feat(removebg): add remove-bg integration (#1406)
* feat(remove-bg): add remove-bg integration * feat(removebg): update name and icon * docs(removebg): update name and icon * docs: add remove.bg in available apps * docs(removebg): correct path --------- Co-authored-by: Ali BARIN <ali.barin53@gmail.com>
This commit is contained in:
co-authored by
Ali BARIN
parent
a4a0102679
commit
5db62679fa
@@ -0,0 +1,11 @@
|
||||
import { TBeforeRequest } from '@automatisch/types';
|
||||
|
||||
const addAuthHeader: TBeforeRequest = ($, requestConfig) => {
|
||||
if ($.auth.data?.apiKey) {
|
||||
requestConfig.headers['X-API-Key'] = `${$.auth.data.apiKey}`;
|
||||
}
|
||||
|
||||
return requestConfig;
|
||||
};
|
||||
|
||||
export default addAuthHeader;
|
||||
Reference in New Issue
Block a user