agrs-sequelize-sdk 1.2.33 → 1.2.35
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.
package/models/Article.js
CHANGED
|
@@ -163,7 +163,7 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
163
163
|
};
|
|
164
164
|
|
|
165
165
|
Article.prototype.getTargetDomain = function () {
|
|
166
|
-
return this.target_domain || "
|
|
166
|
+
return this.target_domain || "sportfoy.com";
|
|
167
167
|
};
|
|
168
168
|
|
|
169
169
|
Article.prototype.isLegacyStructure = function () {
|
|
@@ -104,7 +104,7 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
104
104
|
domain: {
|
|
105
105
|
type: DataTypes.STRING,
|
|
106
106
|
allowNull: true,
|
|
107
|
-
defaultValue: "
|
|
107
|
+
defaultValue: "sportfoy.com",
|
|
108
108
|
comment:
|
|
109
109
|
"Target domain for campaign URLs (searchlabz.com or sportfoy.com)",
|
|
110
110
|
},
|
|
@@ -194,7 +194,7 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
194
194
|
|
|
195
195
|
// Set default domain and url_structure if not provided
|
|
196
196
|
if (!campaign.domain) {
|
|
197
|
-
campaign.setDataValue("domain", "
|
|
197
|
+
campaign.setDataValue("domain", "sportfoy.com");
|
|
198
198
|
}
|
|
199
199
|
if (!campaign.url_structure) {
|
|
200
200
|
campaign.setDataValue("url_structure", "legacy");
|
package/models/newFiles.js
CHANGED