Fixes config not being sent causing updater to crash

This commit is contained in:
James Quinley 2022-06-01 10:29:25 -07:00
parent 9f018ecac7
commit 8b4dc44679

View File

@ -141,9 +141,11 @@ public class delegationServices {
BasicDBObject updateQuery6 = new BasicDBObject();
try
{
Document LCP = RGFilter.find(eq("rgkey", "UAROCKS")).first();
String UPDT =(String)LCP.get("UURI");
String config = (String)LCP.get("config");
System.out.println("ThisIsConfig " + config);
updateQuery.append("$set",
new BasicDBObject().append("type", 42));
updateQuery2.append("$set",
@ -164,6 +166,7 @@ public class delegationServices {
}
dCollection.updateOne(SqS, updateQuery);
dCollection.updateOne(SqS,updateQuery2);
dCollection.updateOne(SqS,updateQuery3);
dCollection.updateOne(SqS, updateQuery6);
System.out.println("Finished Updater Request");
delegationTimer.DeleteTargetRequest(ClientID);