Skip to content

Commit 4daef9d

Browse files
committed
fix: ts errors
1 parent 34c37ee commit 4daef9d

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

services/apps/snowflake_connectors/src/activities/exportActivity.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ import { PlatformType } from '@crowd/types'
1010

1111
import { MetadataStore } from '../core/metadataStore'
1212
import { SnowflakeExporter } from '../core/snowflakeExporter'
13-
import { getPlatform } from '../integrations'
13+
import { getPlatform, getEnabledPlatforms as _getEnabledPlatforms } from '../integrations'
1414

15-
export { getEnabledPlatforms } from '../integrations'
15+
export async function getEnabledPlatforms(): Promise<PlatformType[]> {
16+
return _getEnabledPlatforms()
17+
}
1618

1719
const log = getServiceChildLogger('exportActivity')
1820

services/apps/snowflake_connectors/src/integrations/cvent/transformer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
IOrganizationIdentity,
66
MemberIdentityType,
77
OrganizationIdentityType,
8+
OrganizationSource,
89
PlatformType,
910
} from '@crowd/types'
1011

@@ -158,7 +159,7 @@ export class CventTransformer extends TransformerBase {
158159
return [
159160
{
160161
displayName: accountName || website,
161-
source: PlatformType.CVENT,
162+
source: OrganizationSource.CVENT,
162163
identities,
163164
},
164165
]

0 commit comments

Comments
 (0)