Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Commit

Permalink
fixes #116
Browse files Browse the repository at this point in the history
  • Loading branch information
arafato committed Nov 28, 2017
1 parent d3d6b1b commit 7669e88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/actions/queue/UpdateMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class UpdateMessage {
response = new AzuriteQueueResponse();

response.addHttpProperty(N.POP_RECEIPT, message.popReceipt);
response.addHttpProperty(N.VISIBLE_NEXT_TIME, new Date(message.timeNextVisible * 1000).toUTCString());
res.set(response.httpProps);
res.status(204).send();
}
Expand Down
1 change: 1 addition & 0 deletions lib/core/HttpHeaderNames.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ module.exports = {

// Queue specific
POP_RECEIPT: 'x-ms-popreceipt',
VISIBLE_NEXT_TIME: 'x-ms-time-next-visible',

VERSION: 'x-ms-version',
DATE: 'date',
Expand Down

0 comments on commit 7669e88

Please sign in to comment.