Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
XYShaoKang committed Sep 29, 2024
1 parent 3e73745 commit 103374e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/content/pages/problemset/intercept.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ export function intercept(): void {
try {
const urlObj = new URL(url)
pathname = urlObj.pathname
} catch (error) {}
} catch (error) {
//
}
if (
!disbaleIntercept &&
method.toLocaleLowerCase() === 'post' &&
Expand Down Expand Up @@ -132,7 +134,9 @@ export function intercept(): void {
body.variables.filters.sortOrder = 'DESCENDING'
str = JSON.stringify(body)
}
} catch (error) {}
} catch (error) {
//
}
}
return originalSend.call(this, str)
}
Expand Down

0 comments on commit 103374e

Please sign in to comment.