Skip to content

Commit

Permalink
null check
Browse files Browse the repository at this point in the history
  • Loading branch information
iBicha committed Oct 24, 2023
1 parent e4d0e93 commit f541d87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ namespace Http
feedSource = ParseJson(feedSource)

invService = new Invidious.InvidiousService(invidiousNode)
invResponse = invService.MakeRequest(feedSource, feedSource.state.queryParams)
invResponse = invService.MakeRequest(feedSource, feedSource.state?.queryParams)
if not invResponse.success
response.Default(500, `Failed to make request: ${invResponse.error}`)
return true
Expand Down

0 comments on commit f541d87

Please sign in to comment.