Skip to content

Commit

Permalink
Use parseTimePropertyValue
Browse files Browse the repository at this point in the history
  • Loading branch information
gastonyelmini committed Oct 24, 2023
1 parent 427979d commit 906ccaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/steps/domains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
IntegrationStepExecutionContext,
RelationshipClass,
convertProperties,
getTime,
parseTimePropertyValue,
} from '@jupiterone/integration-sdk-core';

import { createAPIClient } from '../client';
Expand Down Expand Up @@ -37,8 +37,8 @@ export async function fetchDomains({
displayName: domainDetails.domain,
domainName: domainDetails.domain,
name: domainDetails.domain,
createdOn: getTime(domainDetails.createdAt),
expiresOn: getTime(domainDetails.expires),
createdOn: parseTimePropertyValue(domainDetails.createdAt),
expiresOn: parseTimePropertyValue(domainDetails.expires),
autoRenew: domainDetails.renewAuto,
active: domainDetails.status === 'ACTIVE',
id: domainDetails.domainId.toString(),
Expand Down

0 comments on commit 906ccaf

Please sign in to comment.