This commit is contained in:
@@ -17,6 +17,9 @@ export function toPublicListingDto(listing) {
|
||||
status: listing.status,
|
||||
notes: listing.notes ?? null,
|
||||
images: listing.images ?? [],
|
||||
sellerDisplayName: listing.sellerDisplayName ?? null,
|
||||
sellerContactEmail: listing.sellerContactEmail ?? null,
|
||||
sellerContactPhone: listing.sellerContactPhone ?? null,
|
||||
createdAt: toIsoString(listing.createdAt),
|
||||
updatedAt: toIsoString(listing.updatedAt),
|
||||
};
|
||||
|
||||
@@ -15,6 +15,9 @@ export function toPublicProductDto(product) {
|
||||
eventName: product.eventName ?? null,
|
||||
releaseYear: product.releaseYear ?? null,
|
||||
tags: product.tags ?? [],
|
||||
sellerDisplayName: product.sellerDisplayName ?? null,
|
||||
sellerContactEmail: product.sellerContactEmail ?? null,
|
||||
sellerContactPhone: product.sellerContactPhone ?? null,
|
||||
createdAt: toIsoString(product.createdAt),
|
||||
updatedAt: toIsoString(product.updatedAt),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user