Skip to content

Commit

Permalink
fix: fix an issue with Invalid time value
Browse files Browse the repository at this point in the history
  • Loading branch information
aubin-tchoi committed Nov 26, 2024
1 parent c822298 commit b1e1e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/src/connectors/zendesk/lib/sync_ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ ${comments
.map((comment) => {
const author = users.find((user) => user.id === comment.author_id);
return `
[${new Date(comment.created_at).toISOString()}] ${
[${new Date(Number(comment?.created_at)).toISOString()}] ${
author ? `${author.name} (${author.email})` : "Unknown User"
}:
${comment.body}`;
Expand Down

0 comments on commit b1e1e10

Please sign in to comment.