@riocrypto/common-server 1.0.2714 → 1.0.2716

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.
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.buildIndicativeQuotePage = void 0;
4
4
  const common_1 = require("@riocrypto/common");
5
5
  const buildIndicativeQuotePage = (mongoose) => {
6
- if (mongoose.models.PublicQuotePage) {
7
- return mongoose.model("PublicQuotePage");
6
+ if (mongoose.models.IndicativeQuotePage) {
7
+ return mongoose.model("IndicativeQuotePage");
8
8
  }
9
9
  const QuoteConfigSchema = new mongoose.Schema({
10
10
  side: {
@@ -82,7 +82,7 @@ const buildIndicativeQuotePage = (mongoose) => {
82
82
  IndicativeQuotePageSchema.statics.build = (attrs) => {
83
83
  return new IndicativeQuotePage(attrs);
84
84
  };
85
- const IndicativeQuotePage = mongoose.model("PublicQuotePage", IndicativeQuotePageSchema);
85
+ const IndicativeQuotePage = mongoose.model("IndicativeQuotePage", IndicativeQuotePageSchema);
86
86
  return IndicativeQuotePage;
87
87
  };
88
88
  exports.buildIndicativeQuotePage = buildIndicativeQuotePage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2714",
3
+ "version": "1.0.2716",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",