The placeholders are better. But the api thing isnt working

This commit is contained in:
LucasGGamerM
2022-12-12 16:10:27 -03:00
parent 0ca9c536cd
commit a3267f6cd3
3 changed files with 36 additions and 11 deletions

View File

@@ -1,10 +1,9 @@
package org.joinmastodon.android.api.requests.lists;
import org.joinmastodon.android.api.MastodonAPIRequest;
import java.util.List;
public class RemoveList extends MastodonAPIRequest<Object> {
public RemoveList(String listId){
public class DeleteList extends MastodonAPIRequest<Object> {
public DeleteList(String listId){
super(HttpMethod.DELETE, "/lists/"+listId, Object.class);
}
}