[New] Delete own comment (#478)
Code Reformat Use return from 6543 commit Fix typo Move delete method to adapter to update the recyclerview make it work add to bottomsheet entry Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/478 Reviewed-by: 6543 <6543@noreply.gitea.io>
This commit is contained in:
@@ -272,4 +272,7 @@ public interface ApiInterface {
|
||||
|
||||
@PATCH("repos/{owner}/{repo}/milestones/{index}") // close / reopen milestone
|
||||
Call<JsonElement> closeReopenMilestone(@Header("Authorization") String token, @Path("owner") String ownerName, @Path("repo") String repoName, @Path("index") int index, @Body Milestones jsonStr);
|
||||
|
||||
@DELETE("repos/{owner}/{repo}/issues/comments/{id}") // delete own comment from issue
|
||||
Call<JsonElement> deleteComment(@Header("Authorization") String token, @Path("owner") String ownerName, @Path("repo") String repoName, @Path("id") int commentIndex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user