mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2026-03-10 18:55:03 +00:00
Sharee lists updates on the spot after adding or deleting sharee
This commit is contained in:
@@ -59,8 +59,6 @@ public class ListShareGetter implements CallHandler{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
//Insert the ListShare objects to hold the data of the remaining rows into first's ListShare list
|
||||
while (getListResults.next()) {
|
||||
InvokeRequest invokeRequest = new InvokeRequest();
|
||||
|
||||
@@ -58,11 +58,6 @@ public class ListSharer implements CallHandler {
|
||||
throw new InputMismatchException("Could not find specified user to share with");
|
||||
}
|
||||
String shareWithSub = new Gson().fromJson(new String(invokeResult.getPayload().array()), User.class).cognitoID;
|
||||
// checkAccess.setString(2, shareWithSub);
|
||||
// checkAccessRS = checkAccess.executeQuery();
|
||||
// if (checkAccessRS.next()) {
|
||||
// throw new InputMismatchException("The specified user already has access");
|
||||
// }
|
||||
|
||||
PreparedStatement uiPositionCheck = connection.prepareStatement(UI_POSITION_CHECK);
|
||||
uiPositionCheck.setString(1, shareWithSub);
|
||||
|
||||
Reference in New Issue
Block a user