Cscott has uploaded a new change for review.
https://gerrit.wikimedia.org/r/172944
Change subject: Fix /_rtform endpoint.
......................................................................
Fix /_rtform endpoint.
This was broken by If4a4208830fe0041994b5cfb9df5a87ef83c8807.
Change-Id: I7a1a842ce653318e04a3ecb3e162a648f9042973
---
M api/routes.js
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid
refs/changes/44/172944/1
diff --git a/api/routes.js b/api/routes.js
index f9e6911..e465252 100644
--- a/api/routes.js
+++ b/api/routes.js
@@ -603,7 +603,9 @@
});
parse( env, req, res ).then(
roundTripDiff.bind( null, env, req, res, false )
- ).then( rtResponse ).catch(function(err) {
+ ).then(
+ rtResponse.bind( null, env, req, res )
+ ).catch(function(err) {
env.log("fatal/request", err);
});
};
--
To view, visit https://gerrit.wikimedia.org/r/172944
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7a1a842ce653318e04a3ecb3e162a648f9042973
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits