From c43f9f458658bad83c73112e27f8aa2af39570bc Mon Sep 17 00:00:00 2001 From: Hammy Date: Wed, 9 Jun 2021 00:21:11 +0100 Subject: [PATCH] Make getWaifu(Integer id) method public --- src/main/java/me/goudham/MyWaifuClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/goudham/MyWaifuClient.java b/src/main/java/me/goudham/MyWaifuClient.java index ae94994..e137e94 100644 --- a/src/main/java/me/goudham/MyWaifuClient.java +++ b/src/main/java/me/goudham/MyWaifuClient.java @@ -61,7 +61,7 @@ public class MyWaifuClient { return APIWrapper.getWaifu(slug); } - Response getWaifu(@NotNull Integer id) throws APIResponseException, APIMapperException { + public Response getWaifu(@NotNull Integer id) throws APIResponseException, APIMapperException { return APIWrapper.getWaifu(String.valueOf(id)); }