use better responses
All checks were successful
deploy / deploy (push) Successful in 41s

This commit is contained in:
Lee
2024-04-08 06:48:21 +01:00
parent a2dfd3fc6d
commit 4b4cc8ae54
9 changed files with 57 additions and 55 deletions

View File

@ -23,7 +23,7 @@ public class WebRequest {
* @return the response
* @param <T> the type of the response
*/
public static <T> T get(String url, Class<T> clazz) {
public static <T> T getAsEntity(String url, Class<T> clazz) {
try {
ResponseEntity<T> profile = CLIENT.get()
.uri(url)