From 45fac304bd84c56b7c4c49fed02b7b0e71724950 Mon Sep 17 00:00:00 2001 From: Alex Zaw Date: Sat, 16 Aug 2025 16:50:49 -0700 Subject: [PATCH] upload current sources --- .../java/dev/alexzaw/fetchapi/AuthenticationService.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/dev/alexzaw/fetchapi/AuthenticationService.java b/src/main/java/dev/alexzaw/fetchapi/AuthenticationService.java index a91374e..b7a83e0 100644 --- a/src/main/java/dev/alexzaw/fetchapi/AuthenticationService.java +++ b/src/main/java/dev/alexzaw/fetchapi/AuthenticationService.java @@ -26,9 +26,11 @@ public class AuthenticationService { return false; } - return userId != null && password != null - ? authenticateWithCredentials(userId, password) - : apiToken != null && validateApiToken(apiToken); + return userId != null && password != null + ? authenticateWithCredentials(userId, password) + : apiToken != null && validateApiToken(apiToken); + + } public boolean authenticateWithCredentials(String userId, String password) {