mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2026-03-10 18:55:03 +00:00
Fix null id on user retrieval
Also removed a listshare test that somehow made its way into AuthManager
This commit is contained in:
@@ -28,7 +28,7 @@ public class UserGetter implements CallHandler {
|
||||
System.out.println(userPoolId);
|
||||
ListUsersRequest checkRequest = new ListUsersRequest().withUserPoolId(userPoolId);
|
||||
Object emailObject = bodyMap.get("emailToCheck");
|
||||
if (queryMap.get("id").contains("@")) {
|
||||
if (queryMap.get("id") != null && queryMap.get("id").contains("@")) {
|
||||
emailObject = queryMap.get("id");
|
||||
}
|
||||
String attributeToGet = "sub";
|
||||
|
||||
Reference in New Issue
Block a user