We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93fb19c commit 2d054eaCopy full SHA for 2d054ea
src/ingestors/zora-internal/zora-metadata.ts
@@ -61,14 +61,7 @@ export class ZoraMetadataProvider {
61
if (fallbackStartDateValue) {
62
startDate = new Date(parseInt(fallbackStartDateValue) * 1000);
63
}
64
-
65
- let fallbackEndDateValue =
66
- tokenDetails.mintable?.mint_context.sale_strategies[0].fixed_price?.sale_end ||
67
- tokenDetails.mintable?.mint_context.sale_strategies[0].zora_timed_minter?.sale_end;
68
- if (fallbackEndDateValue) {
69
- endDate = new Date(parseInt(fallbackEndDateValue) * 1000);
70
- }
71
+
72
let liveDate = startDate > new Date() ? startDate : new Date();
73
74
return { startDate, endDate, liveDate };
0 commit comments