Skip to content

Commit 6d9069c

Browse files
YunchuWangCopilot
andauthored
Update packages/durabletask-js/src/client/client.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0f146e4 commit 6d9069c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/durabletask-js/src/client/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,8 +585,8 @@ export class TaskHubGrpcClient {
585585
return undefined;
586586
}
587587

588-
const createdAt = createdTimestamp ? new Date(createdTimestamp.toDate()) : new Date(0);
589-
const lastUpdatedAt = lastUpdatedTimestamp ? new Date(lastUpdatedTimestamp.toDate()) : new Date(0);
588+
const createdAt = createdTimestamp ? createdTimestamp.toDate() : new Date(0);
589+
const lastUpdatedAt = lastUpdatedTimestamp ? lastUpdatedTimestamp.toDate() : new Date(0);
590590

591591
// Map proto status to our status enum using the existing conversion function
592592
const status = fromProtobuf(runtimeStatus);

0 commit comments

Comments
 (0)