mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
lint fixed
This commit is contained in:
parent
bf32bae440
commit
85d66e6067
1 changed files with 7 additions and 5 deletions
|
|
@ -152,7 +152,7 @@ export async function getServiceAndRpcNames(protoDefinition) {
|
|||
|
||||
export class MigrationProgress {
|
||||
private progress = 0;
|
||||
constructor(private fileName: string, private totalCount: number) { }
|
||||
constructor(private fileName: string, private totalCount: number) {}
|
||||
|
||||
show() {
|
||||
this.progress++;
|
||||
|
|
@ -205,15 +205,17 @@ export const generateInviteURL = (
|
|||
const host = process.env.TOOLJET_HOST;
|
||||
const subpath = process.env.SUB_PATH;
|
||||
|
||||
return `${host}${subpath ? subpath : '/'}invitations/${invitationToken}${organizationToken ? `/workspaces/${organizationToken}${organizationId ? `?oid=${organizationId}` : ''}` : ''
|
||||
}${source ? `${organizationId ? '&' : '?'}source=${source}` : ''}`;
|
||||
return `${host}${subpath ? subpath : '/'}invitations/${invitationToken}${
|
||||
organizationToken ? `/workspaces/${organizationToken}${organizationId ? `?oid=${organizationId}` : ''}` : ''
|
||||
}${source ? `${organizationId ? '&' : '?'}source=${source}` : ''}`;
|
||||
};
|
||||
|
||||
export const generateOrgInviteURL = (organizationToken: string, organizationId?: string) => {
|
||||
const host = process.env.TOOLJET_HOST;
|
||||
const subpath = process.env.SUB_PATH;
|
||||
return `${host}${subpath ? subpath : '/'}organization-invitations/${organizationToken}${organizationId ? `?oid=${organizationId}` : ''
|
||||
}`;
|
||||
return `${host}${subpath ? subpath : '/'}organization-invitations/${organizationToken}${
|
||||
organizationId ? `?oid=${organizationId}` : ''
|
||||
}`;
|
||||
};
|
||||
|
||||
export function extractMajorVersion(version) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue