mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2026-02-14 20:49:04 +00:00
use path instead of querystring for filters
This commit is contained in:
@ -106,7 +106,6 @@ export class ICSGenerator {
|
||||
.map((competitorId) => this.getCompetitor(competitorId, lang.code))
|
||||
.map((competitor) => `\\n${competitor.flag} ${competitor.name}`).join("");
|
||||
description += `${competitors}`;
|
||||
|
||||
}
|
||||
|
||||
lines.push(summary);
|
||||
|
||||
@ -190,7 +190,6 @@ export class Scraper {
|
||||
return;
|
||||
|
||||
if (!this.nocs.some((n) => n.key === key)) {
|
||||
console.log(key);
|
||||
this.nocs.push({ key, name: {} });
|
||||
}
|
||||
const noc = this.nocs.find((n) => n.key === key)!;
|
||||
|
||||
Reference in New Issue
Block a user