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
@@ -21,6 +21,7 @@ export class WebsiteBusinessInfoService {
|
||||
where: { id: business.id },
|
||||
include: {
|
||||
logoMedia: true,
|
||||
logoDarkMedia: true,
|
||||
faviconMedia: true,
|
||||
addresses: { orderBy: { createdAt: 'asc' } },
|
||||
},
|
||||
@@ -37,6 +38,7 @@ export class WebsiteBusinessInfoService {
|
||||
about: record.about ?? '',
|
||||
vision: record.vision ?? '',
|
||||
logoUrl: record.logoMedia?.publicUrl ?? null,
|
||||
logoDarkUrl: record.logoDarkMedia?.publicUrl ?? null,
|
||||
faviconUrl:
|
||||
record.faviconMedia?.publicUrl ?? record.logoMedia?.publicUrl ?? null,
|
||||
emails: normalizeEmails(record.emails),
|
||||
|
||||
Reference in New Issue
Block a user