We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e73d512 commit 3e49762Copy full SHA for 3e49762
utils/engine.js
@@ -38,7 +38,7 @@ export class Engine {
38
for (const ev of out) {
39
if (ev.speakers) {
40
for (const spId of ev.speakers) {
41
- if (!full.people.some((p) => p.id === spId)) {
+ if (!full.people((p) => p.id === spId)) {
42
throw new Error(`Speaker not exists: ${spId} (event ${ev.id})`);
43
}
44
@@ -108,7 +108,7 @@ export class Engine {
108
);
109
if (opts.loader === "person") {
110
// load image
111
- const img = images.some((i) => i.id === fn);
+ const img = images((i) => i.id === fn);
112
if (img) {
113
item.imageUrl =
114
`https://data.web3privacy.info/img/people/${img.id}.${img.ext}`;
0 commit comments