Add dark-mode business logo, payment order steps, and Arvan DNS diagnostics.
Store logo_dark_media_id on businesses, expose logoDarkUrl on tenant/website APIs, prepend awaiting-payment steps to order workflows, and surface clearer Arvan API network errors. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
e942348b1d
commit
6ce6f959ac
@@ -44,6 +44,7 @@ export class TenantService {
|
||||
where: { id: business.id },
|
||||
select: {
|
||||
logoMedia: { select: { publicUrl: true } },
|
||||
logoDarkMedia: { select: { publicUrl: true } },
|
||||
faviconMedia: { select: { publicUrl: true } },
|
||||
},
|
||||
});
|
||||
@@ -61,6 +62,7 @@ export class TenantService {
|
||||
homeCharts: settings.modules.charts,
|
||||
specialProductsSource: settings.website.specialProductsSource,
|
||||
logoUrl: media?.logoMedia?.publicUrl ?? null,
|
||||
logoDarkUrl: media?.logoDarkMedia?.publicUrl ?? null,
|
||||
faviconUrl:
|
||||
media?.faviconMedia?.publicUrl ?? media?.logoMedia?.publicUrl ?? null,
|
||||
ePayment: listPublicPaymentGateways(settings.store.ePayment),
|
||||
|
||||
Reference in New Issue
Block a user