diff --git a/packages/spacecat-shared-data-access/src/dto/site.js b/packages/spacecat-shared-data-access/src/dto/site.js index 1f3da20e..5f13a78c 100644 --- a/packages/spacecat-shared-data-access/src/dto/site.js +++ b/packages/spacecat-shared-data-access/src/dto/site.js @@ -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(),