agrs-sequelize-sdk 1.1.66 → 1.1.68

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/models/Ad.js +5 -3
  2. package/package.json +1 -1
package/models/Ad.js CHANGED
@@ -223,9 +223,11 @@ module.exports = (sequelize, DataTypes) => {
223
223
  }
224
224
 
225
225
  // Try fetching related RSOCFeedCampaign
226
- const rsocFeedCampaign = await sequelize.models.RSOCFeedCampaign.findOne({
227
- where: { AGRS_CID: this.AGRS_CID },
228
- });
226
+ const rsocFeedCampaign = await sequelize.models.rsoc_feed_campaigns.findOne(
227
+ {
228
+ where: { AGRS_CID: this.AGRS_CID },
229
+ }
230
+ );
229
231
 
230
232
  if (rsocFeedCampaign) {
231
233
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agrs-sequelize-sdk",
3
- "version": "1.1.66",
3
+ "version": "1.1.68",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "start": "node index.js",