Skip to content

Commit d3d0d93

Browse files
committed
update eventType prop
1 parent 8c379f7 commit d3d0d93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/opensea/sources/new-collection-events/new-collection-events.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default {
2323
description: "Unique string to identify a collection on OpenSea. This can be found by visiting the collection on the OpenSea website and noting the last path parameter.",
2424
},
2525
eventType: {
26-
type: "string[]",
26+
type: "string",
2727
options: [
2828
"all",
2929
"cancel",
@@ -49,7 +49,7 @@ export default {
4949
generateMeta(event) {
5050
return {
5151
id: event.order_hash,
52-
summary: `${event.asset.name || event.nft.name}`,
52+
summary: `${event.asset?.name || event.nft?.name}`,
5353
ts: event.event_timestamp,
5454
};
5555
},

0 commit comments

Comments
 (0)