@bprotsyk/aso-core 1.2.132 → 1.2.134
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.
|
@@ -126,7 +126,7 @@ let removeGeosFromAllRedirectCampaigns = async (geoToRemove) => {
|
|
|
126
126
|
};
|
|
127
127
|
exports.removeGeosFromAllRedirectCampaigns = removeGeosFromAllRedirectCampaigns;
|
|
128
128
|
let createOrFindFlashRedirectCampaign = async (app) => {
|
|
129
|
-
if (app.keitaroData && app.keitaroData?.redirectCampaignId != 0) {
|
|
129
|
+
if (app.keitaroData && !app.keitaroData?.redirectCampaignId && app.keitaroData?.redirectCampaignId != 0) {
|
|
130
130
|
console.log(app.keitaroData?.redirectCampaignId);
|
|
131
131
|
let campaign = await keitaro_service_1.KeitaroService.getCampaignById(app.keitaroData.redirectCampaignId);
|
|
132
132
|
return campaign;
|
package/package.json
CHANGED
|
@@ -137,7 +137,7 @@ export let removeGeosFromAllRedirectCampaigns = async (geoToRemove: string) => {
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
export let createOrFindFlashRedirectCampaign = async (app: IFlashApp): Promise<IKeitaroCampaign> => {
|
|
140
|
-
if (app.keitaroData && app.keitaroData?.redirectCampaignId != 0) {
|
|
140
|
+
if (app.keitaroData && !app.keitaroData?.redirectCampaignId && app.keitaroData?.redirectCampaignId != 0) {
|
|
141
141
|
console.log(app.keitaroData?.redirectCampaignId)
|
|
142
142
|
let campaign = await KeitaroService.getCampaignById(app.keitaroData.redirectCampaignId)
|
|
143
143
|
return campaign
|