diff --git a/README.md b/README.md index 0ff8a5b..f27c270 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ research and community of [Web3Privacy Now](https://web3privacy.info). | meetup | `lju1` | 2024/Jun | 🇸🇮 Ljubljana | - | W3PN Hackathon | - | | | meetup | `bcn2` | 2024/Jul | 🇪🇸 Barcelona | - | ETHBarcelona (?) | - | | | meetup | `bru1` | 2024/Jul | 🇧🇪 Brussels | - | [EthCC 7](https://www.ethcc.io/) | - | | -| meetup | `rom1` | 2024/Oct | 🇮🇹 Rome | - | ETHRome 2024 | - | | +| meetup | `rom2` | 2024/Oct | 🇮🇹 Rome | - | ETHRome 2024 | - | | | summit | `s3` | 2024/Nov | 🇨🇿 Brno | - | ETHBrno 2024 | - | | | meetup | `dvc1` | 2024/Q4 | 🏴‍☠️ SE Asia | - | [Devcon 7](https://devcon.org/) | - | | diff --git a/events/events.yaml b/events/events.yaml index 630e8de..d93ffad 100644 --- a/events/events.yaml +++ b/events/events.yaml @@ -103,7 +103,7 @@ country: be coincidence: "[EthCC 7](https://www.ethcc.io/)" -- id: w3pm-rom1 +- id: w3pm-rom2 type: meetup date: "2024/Oct" city: Rome diff --git a/index.js b/index.js index 31f6245..655d180 100644 --- a/index.js +++ b/index.js @@ -24,12 +24,18 @@ async function test() { const validator = ajv.compile(schema); const list = await _loadYaml(`./events/events.yaml`); + const ids = []; for (const item of list) { Deno.test(`${item.id}`, async () => { if (!validator(item)) { throw validator.errors; } + if (ids.includes(item.id)) { + throw `ID exists: ${item.id}` + } + + ids.push(item.id) }); } }