Skip to content

Commit

Permalink
fix: no undefined for putItem
Browse files Browse the repository at this point in the history
  • Loading branch information
solaris007 committed Dec 10, 2023
1 parent 35654fc commit 0d64b9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/spacecat-shared-data-access/src/dto/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export const SiteDto = {
toDynamoItem: (site) => ({
id: site.getId(),
baseURL: site.getBaseURL(),
gitHubURL: site.getGitHubURL(),
imsOrgId: site.getImsOrgId(),
gitHubURL: site.getGitHubURL() || '',
imsOrgId: site.getImsOrgId() || '',
isLive: site.isLive(),
createdAt: site.getCreatedAt(),
updatedAt: site.getUpdatedAt(),
Expand Down

0 comments on commit 0d64b9d

Please sign in to comment.