Merge pull request 'Fix file path encoding and clean up' (#2) from fixes into main

Reviewed-on: https://codeberg.org/gitnex/tea4j-autodeploy/pulls/2
This commit is contained in:
M M Arif
2022-05-12 15:09:35 +02:00
2 changed files with 1 additions and 8 deletions
@@ -12,7 +12,7 @@ public interface CustomApi {
Call<List<ContentsResponse>> repoGetContentsList(
@Path("owner") String owner,
@Path("repo") String repo,
@Path("filepath") String filepath,
@Path(value = "filepath", encoded = false) String filepath,
@Query("ref") String ref);
/**
@@ -33,11 +33,4 @@ public interface OTPApi {
@Header("X-Gitea-OTP") int otp,
@Path("username") String username,
@Body CreateAccessTokenOption body);
@GET("repos/{owner}/{repo}/contents/{filepath}")
Call<List<ContentsResponse>> repoGetContentsList(
@Path("owner") String owner,
@Path("repo") String repo,
@Path("filepath") String filepath,
@Query("ref") String ref);
}