Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwwinter committed Feb 27, 2024
1 parent ec00840 commit 7ba8e3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/notification/storage/webhook-storage.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ export class WebhookStorage {

/**
* Get all registered webhooks subscribe by the user authenticated with the given token
* @param token
*/
fetchAllWebhooks(): Observable<Webhook[]> {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
fetchAllWebhooks(token?: string): Observable<Webhook[]> {
return this.webhookRepository
.fetchAllWebhooks()
.pipe(
Expand Down
3 changes: 2 additions & 1 deletion src/report-changes/core/report-changes.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export class ReportChangesService {
.activeReports()
.subscribe((reports: Reference[]) => {
reports.forEach((r) => this.registerReportMonitoring(r));
for (const [id] of this.reportMonitors.entries()) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
for (const [id, monitor] of this.reportMonitors.entries()) {
if (!reports.some((r) => r.id === id)) {
this.reportMonitors.delete(id);
}
Expand Down

0 comments on commit 7ba8e3b

Please sign in to comment.