Gimme some code #607

Merged
greg6775 merged 12 commits from master into greg-dev 2021-01-17 13:17:42 +01:00
Showing only changes of commit a334681f06 - Show all commits

View file

@ -59,9 +59,14 @@ public class Rethink {
try {
return new JSONObject(response);
} catch (JSONException e) {
e.printStackTrace();
System.out.println(response);
return null;
insertUser(id);
String response2 = String.valueOf(r.table(table).get(id).toJson().run(conn).first());
try {
return new JSONObject(response2);
} catch (JSONException ex) {
ex.printStackTrace();
return null;
}
}
}