biz-slide-core 1.2.22 → 1.2.24

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ var PPTSchema = new mongoose_1.Schema({
10
10
  userId: { type: String, default: null },
11
11
  templateTypeId: { type: mongoose_1.Schema.Types.ObjectId, ref: "template-type" },
12
12
  systemGeneratedtopics: { type: [String], default: [], _id: false },
13
+ userSelectedTopics: { type: [String], default: [], _id: false },
13
14
  questions: { type: [String], default: [], _id: false },
14
15
  colors: { type: [String], default: [], _id: false },
15
16
  prompt: { type: String, default: null },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz-slide-core",
3
- "version": "1.2.22",
3
+ "version": "1.2.24",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -53,10 +53,10 @@ var verifyUid = function (token) { return __awaiter(void 0, void 0, void 0, func
53
53
  var jwtToken = token.split(" ")[1] || token;
54
54
  jsonwebtoken_1.default.verify(jwtToken, process.env.JWTSECRET || 'secret', function (err, decoded) {
55
55
  if (err) {
56
+ console.log("error verifyUid", err);
56
57
  resolve(null);
57
58
  }
58
59
  else {
59
- console.log("error verifyUid", err);
60
60
  resolve(decoded);
61
61
  }
62
62
  });