Skip to content

Commit

Permalink
chore: ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Jan 30, 2024
1 parent f1e00db commit f897796
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions js/src/forum/models/Poll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default class Poll extends Model {
}

apiEndpoint() {
/** @ts-ignore */
return `/fof/polls${this.exists ? `/${this.data.id}` : ''}`;
}
}
1 change: 1 addition & 0 deletions js/src/forum/models/PollOption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default class PollOption extends Model {
}

apiEndpoint() {
/** @ts-ignore */
return `/fof/polls/answers${this.exists ? `/${this.data.id}` : ''}`;
}
}

0 comments on commit f897796

Please sign in to comment.