Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
Parse message timestamps found within our message options
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwilliams committed Feb 10, 2017
1 parent 68feb82 commit 14b32f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ Remit.prototype.__consume_res = function __consume_res (message, callbacks, cont
service: message.properties.appId,
event: message.properties.type,
caller: message.properties.messageId,
timestamp: message.properties.timestamp ? new Date(parseInt(message.properties.timestamp) * 1000) : new Date(),
uuid: message.properties.headers && message.properties.headers.uuid
}

Expand Down

0 comments on commit 14b32f0

Please sign in to comment.