jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/391917 )

Change subject: Summary: Use underlying page tid when constructing etag
......................................................................


Summary: Use underlying page tid when constructing etag

Change-Id: Ica53c871a68c07944f79e227b80a225274eba4f3
---
M routes/mobile-sections.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  BearND: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/routes/mobile-sections.js b/routes/mobile-sections.js
index b61484d..2196f41 100644
--- a/routes/mobile-sections.js
+++ b/routes/mobile-sections.js
@@ -411,7 +411,7 @@
             res.status(summary.code);
             if (summary.code === 200) {
                 delete summary.code;
-                mUtil.setETag(res, summary.revision);
+                mUtil.setETag(res, summary.revision, summary.tid);
                 mUtil.setContentType(res, mUtil.CONTENT_TYPES.summary);
                 res.send(JSON.stringify(summary));
             }

-- 
To view, visit https://gerrit.wikimedia.org/r/391917
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ica53c871a68c07944f79e227b80a225274eba4f3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mobileapps
Gerrit-Branch: master
Gerrit-Owner: Mholloway <mhollo...@wikimedia.org>
Gerrit-Reviewer: BearND <bsitzm...@wikimedia.org>
Gerrit-Reviewer: Fjalapeno <cfl...@wikimedia.org>
Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: Mhurd <mh...@wikimedia.org>
Gerrit-Reviewer: Ppchelko <ppche...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to