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:
Mohammed Zaher
2023-11-07 14:52:55 +02:00
committed by GitHub
parent a4a0102679
commit 5db62679fa
11 changed files with 101 additions and 0 deletions

View File

@@ -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;