Version Check before try to Login (#147)

This commit is contained in:
6543
2019-10-22 15:27:33 +00:00
committed by M M Arif
parent d29b1901c0
commit d14ecd9c68
6 changed files with 247 additions and 107 deletions

View File

@@ -48,7 +48,7 @@ import retrofit2.http.Query;
public interface ApiInterface {
@GET("version") // gitea version API
Call<GiteaVersion> getGiteaVersion(@Header("Authorization") String token);
Call<GiteaVersion> getGiteaVersion();
@GET("user") // username, full name, email
Call<UserInfo> getUserInfo(@Header("Authorization") String token);