daveappserver 0.6.31 → 0.6.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/appserver.js +7 -3
  2. package/package.json +1 -1
package/appserver.js CHANGED
@@ -1,4 +1,4 @@
1
- var myVersion = "0.6.31", myProductName = "daveAppServer";
1
+ var myVersion = "0.6.33", myProductName = "daveAppServer";
2
2
 
3
3
  exports.start = startup;
4
4
  exports.notifySocketSubscribers = notifySocketSubscribers;
@@ -1052,7 +1052,11 @@ function cleanFileStats (stats) { //4/19/21 by DW
1052
1052
  callback ({message});
1053
1053
  }
1054
1054
  else {
1055
- callback (undefined, result [0]);
1055
+ var theConfirmation = result [0];
1056
+ if (theConfirmation.urlRedirect == null) {
1057
+ theConfirmation.urlRedirect = undefined;
1058
+ }
1059
+ callback (undefined, theConfirmation);
1056
1060
  }
1057
1061
  }
1058
1062
  });
@@ -1198,7 +1202,7 @@ function cleanFileStats (stats) { //4/19/21 by DW
1198
1202
  return (encodeURIComponent (s));
1199
1203
  }
1200
1204
 
1201
- findPendingConfirmation (emailConfirmCode, function (err, theConfirmation) {
1205
+ findPendingConfirmation (emailConfirmCode, function (err, item) {
1202
1206
  if (err) {
1203
1207
  if (urlRedirect === undefined) {
1204
1208
  urlRedirect = urlWebApp;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "daveappserver",
3
3
  "description": "Factored code that was appearing in all my servers.",
4
- "version": "0.6.31",
4
+ "version": "0.6.33",
5
5
  "main": "appserver.js",
6
6
  "repository": {
7
7
  "type" : "git",