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

Change subject: Update mwapi_req template configuration
......................................................................


Update mwapi_req template configuration

Bug: T173038
Change-Id: I8e126967cdd4fe40f234ad2ac0c70177a375dc32
---
M scap/templates/config.yaml.j2
1 file changed, 2 insertions(+), 1 deletion(-)

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



diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 562f86d..a4630ed 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -38,7 +38,8 @@
       port: <%= port %>
       user_agent: CXServer/WMF
       mwapi_req:
-        body: "{{ default(request.query, {}) }}"
+        body: "{{request.body}}"
+        query: "{{ default(request.query, {}) }}"
         headers:
           host: "{{request.params.domain}}"
           user-agent: "{{user-agent}}"

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8e126967cdd4fe40f234ad2ac0c70177a375dc32
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver/deploy
Gerrit-Branch: master
Gerrit-Owner: KartikMistry <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to