summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-03-09 18:28:23 +0000
committerPhil Hughes <me@iamphill.com>2018-03-09 18:28:23 +0000
commit87be05bff037bf72e4496b2d3e266d0ba554d2c1 (patch)
tree7927ab8f44f3b18eb39262921f6741fbe3b22145
parent52b70f0428151dcc6f4154fa584e9478afc34e9e (diff)
downloadgitlab-ce-87be05bff037bf72e4496b2d3e266d0ba554d2c1.tar.gz
fix polling not working correctly
-rw-r--r--app/assets/javascripts/notes/services/notes_service.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes/services/notes_service.js b/app/assets/javascripts/notes/services/notes_service.js
index 4766351dfc5..bb31be583c7 100644
--- a/app/assets/javascripts/notes/services/notes_service.js
+++ b/app/assets/javascripts/notes/services/notes_service.js
@@ -30,7 +30,7 @@ export default {
const { endpoint, lastFetchedAt } = data;
const options = {
headers: {
- 'X-Last-Fetched-At': lastFetchedAt,
+ 'X-Last-Fetched-At': `${lastFetchedAt}`,
},
};