This commit is contained in:
Graham Jones
2019-02-15 20:17:07 +00:00
4 changed files with 3 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ public class SdWebServer extends NanoHTTPD {
String postData = files.get("postData");
Log.v(TAG, " postData=" + postData);
// Send the data to the SdDataSource so the app can pick it up.
if (parameters != null) {
if (parameters.get("dataObj") != null) {
Log.v(TAG,"passing parameters to data source");
answer = mSdServer.mSdDataSource.updateFromJSON(parameters.get("dataObj").toString());
} else {