Revert "And it still doesnt work"

This reverts commit 002687d2b1.
This commit is contained in:
LucasGGamerM
2022-12-12 20:40:10 -03:00
parent 002687d2b1
commit 0115656d67
2 changed files with 15 additions and 23 deletions

View File

@@ -1,11 +1,9 @@
package org.joinmastodon.android.api.requests.lists;
import android.app.ListFragment;
import org.joinmastodon.android.api.MastodonAPIRequest;
public class DeleteList extends MastodonAPIRequest<ListFragment> {
public DeleteList(String id){
super(HttpMethod.DELETE, "/lists/"+id, ListFragment.class);
public class DeleteList extends MastodonAPIRequest<Object> {
public DeleteList(String listId){
super(HttpMethod.DELETE, "/lists/"+listId, Object.class);
}
}