From f8977962f067b9abad6c03b28bb32d54d22332ac Mon Sep 17 00:00:00 2001 From: IanM Date: Tue, 30 Jan 2024 14:26:03 +0000 Subject: [PATCH] chore: ts-ignore --- js/src/forum/models/Poll.ts | 1 + js/src/forum/models/PollOption.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/js/src/forum/models/Poll.ts b/js/src/forum/models/Poll.ts index b209d386..e4f41bf8 100755 --- a/js/src/forum/models/Poll.ts +++ b/js/src/forum/models/Poll.ts @@ -72,6 +72,7 @@ export default class Poll extends Model { } apiEndpoint() { + /** @ts-ignore */ return `/fof/polls${this.exists ? `/${this.data.id}` : ''}`; } } diff --git a/js/src/forum/models/PollOption.ts b/js/src/forum/models/PollOption.ts index e427a33d..d83bf08e 100755 --- a/js/src/forum/models/PollOption.ts +++ b/js/src/forum/models/PollOption.ts @@ -24,6 +24,7 @@ export default class PollOption extends Model { } apiEndpoint() { + /** @ts-ignore */ return `/fof/polls/answers${this.exists ? `/${this.data.id}` : ''}`; } }