Jonas Kress (WMDE) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/291735

Change subject: Change edit token to csrf
......................................................................

Change edit token to csrf

Change-Id: I14d7d97f4dfb689b70a698d15c92dd6f65ac3618
---
M src/RepoApi.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseJavaScriptApi 
refs/changes/35/291735/1

diff --git a/src/RepoApi.js b/src/RepoApi.js
index 75bc77c..ec32a47 100644
--- a/src/RepoApi.js
+++ b/src/RepoApi.js
@@ -897,7 +897,7 @@
                        }
                } );
 
-               return this._api.postWithToken( 'edit', params );
+               return this._api.postWithToken( 'csrf', params );
        }
 } );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I14d7d97f4dfb689b70a698d15c92dd6f65ac3618
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseJavaScriptApi
Gerrit-Branch: master
Gerrit-Owner: Jonas Kress (WMDE) <jonas.kr...@wikimedia.de>

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

Reply via email to