File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ async function getPrimaryResponse(os: TPrimaryPlatforms): Promise<Result> {
3737
3838 return Object . entries ( versions )
3939 . map ( ( [ version , { download_url } ] ) => ( { version, url : download_url } ) )
40- } catch ( e ) {
40+ } catch ( _ ) {
4141 throw Error ( "Unable to fetch primary data." )
4242 }
4343}
@@ -86,7 +86,7 @@ async function getSecondaryResponse(os: TPrimaryPlatforms, currentResults: Resul
8686 } )
8787
8888 return secondaryDownloads
89- } catch ( e ) {
89+ } catch ( _ ) {
9090 throw Error ( "Unable to fetch secondary data." )
9191 }
9292}
@@ -145,7 +145,7 @@ export async function GET(request: NextRequest) {
145145 try {
146146 const versions = await getVersions ( os )
147147 return Response . json ( versions , { status : 200 } )
148- } catch ( e ) {
148+ } catch ( _ ) {
149149 return new Response ( 'Unable to fetch versions.' , { status : 500 } )
150150 }
151151}
You can’t perform that action at this time.
0 commit comments