feat: add defineApp and beforeRequest
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
export default {
|
||||
import defineApp from '../../helpers/define-app';
|
||||
import addAuthHeader from './common/add-auth-header';
|
||||
|
||||
export default defineApp({
|
||||
name: 'Github',
|
||||
key: 'github',
|
||||
baseUrl: 'https://github.com',
|
||||
@@ -7,4 +10,5 @@ export default {
|
||||
authDocUrl: 'https://automatisch.io/docs/connections/github',
|
||||
primaryColor: '000000',
|
||||
supportsConnections: true,
|
||||
};
|
||||
beforeRequest: [addAuthHeader],
|
||||
});
|
||||
|
Reference in New Issue
Block a user