Skip to content

Commit 2171b68

Browse files
urbanecmneslihanturan
authored andcommitted
Get rid of legacy URL (#1646)
This URL still works but intended as legacy. As there are more separate API endpoints, I've renamed the folder to commonsmisc to enable me to add all endpoints to one folder and to reduce potentional damage that can be caused by fogotting the symlink is there for a reason, I'm renaming it in the Commons app as well
1 parent e872e5b commit 2171b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/mwapi/ApacheHttpClientMediaWikiApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ public UploadResult uploadFile(String filename,
710710
@NonNull
711711
public Single<Integer> getUploadCount(String userName) {
712712
final String uploadCountUrlTemplate =
713-
wikiMediaToolforgeUrl + "urbanecmbot/uploadsbyuser/uploadsbyuser.py";
713+
wikiMediaToolforgeUrl + "urbanecmbot/commonsmisc/uploadsbyuser.py";
714714

715715
return Single.fromCallable(() -> {
716716
String url = String.format(

0 commit comments

Comments
 (0)