feat: zmena farby pozadia produktov a editovatelne nazvy modulov
This commit is contained in:
1 parent
4e4e5e5af3
commit
00d681bec2
7 files changed
+325
-87
No files matched your search
@@ -63,8 +63,8 @@ export async function POST(req: NextRequest) {
|
||||
success: true,
|
||||
updated: true,
|
||||
campaignId: Number(existingCampaignId),
|
||||
brevoUrl: 'https://app.brevo.com/campaigns',
|
||||
brevoListingUrl: 'https://app.brevo.com/campaigns',
|
||||
brevoUrl: 'https://app.brevo.com/campaigns/listing',
|
||||
brevoListingUrl: 'https://app.brevo.com/campaigns/listing',
|
||||
message: 'Kampaň bola úspešne aktualizovaná v Brevo!'
|
||||
});
|
||||
}
|
||||
@@ -113,8 +113,8 @@ export async function POST(req: NextRequest) {
|
||||
success: true,
|
||||
updated: false,
|
||||
campaignId: data.id,
|
||||
brevoUrl: 'https://app.brevo.com/campaigns',
|
||||
brevoListingUrl: 'https://app.brevo.com/campaigns',
|
||||
brevoUrl: 'https://app.brevo.com/campaigns/listing',
|
||||
brevoListingUrl: 'https://app.brevo.com/campaigns/listing',
|
||||
message: 'Kampaň bola úspešne vytvorená v Brevo!'
|
||||
});
|
||||
} catch (error: any) {
|
||||
|
||||
@@ -51,8 +51,8 @@ export async function GET(req: NextRequest) {
|
||||
name: data.name,
|
||||
status: data.status,
|
||||
subject: data.subject,
|
||||
brevoUrl: 'https://app.brevo.com/campaigns',
|
||||
brevoListingUrl: 'https://app.brevo.com/campaigns'
|
||||
brevoUrl: 'https://app.brevo.com/campaigns/listing',
|
||||
brevoListingUrl: 'https://app.brevo.com/campaigns/listing'
|
||||
});
|
||||
} catch (err: any) {
|
||||
console.error('Brevo verify error:', err);
|
||||
|
||||
+1
-1
@@ -144,7 +144,7 @@ export default function Home() {
|
||||
modules: enforceAnchors(dbItem.data.modules)
|
||||
});
|
||||
if (dbItem.brevo_campaign_id) {
|
||||
setBrevoUrl('https://app.brevo.com/campaigns');
|
||||
setBrevoUrl('https://app.brevo.com/campaigns/listing');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user