@merkl/api 0.10.396 → 0.10.397
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,7 +58,7 @@ export const campaignsCacheUpdater = new Elysia().get("/v3/update", async ({ que
|
|
58
58
|
log.local(`Data length after filtering: ${staticData.length}`);
|
59
59
|
if (!!staticData) {
|
60
60
|
// Build list of existing campaign types for this chain
|
61
|
-
const campaignTypes = !!query
|
61
|
+
const campaignTypes = !!query?.campaignTypes?.length
|
62
62
|
? query.campaignTypes
|
63
63
|
: !staticData
|
64
64
|
? []
|