mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314)
This commit is contained in:
committed by
GitHub
parent
8c635993bd
commit
bafac73eb5
@@ -19,15 +19,13 @@ export async function bubbleApiRequest(
|
||||
body: IDataObject,
|
||||
qs: IDataObject,
|
||||
) {
|
||||
const { apiToken, appName, domain, environment, hosting } = (await this.getCredentials(
|
||||
'bubbleApi',
|
||||
)) as {
|
||||
const { apiToken, appName, domain, environment, hosting } = await this.getCredentials<{
|
||||
apiToken: string;
|
||||
appName: string;
|
||||
domain: string;
|
||||
environment: 'development' | 'live';
|
||||
hosting: 'bubbleHosted' | 'selfHosted';
|
||||
};
|
||||
}>('bubbleApi');
|
||||
|
||||
const rootUrl = hosting === 'bubbleHosted' ? `https://${appName}.bubbleapps.io` : domain;
|
||||
const urlSegment = environment === 'development' ? '/version-test/api/1.1' : '/api/1.1';
|
||||
|
||||
Reference in New Issue
Block a user