diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-08-06 23:03:50 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-08-06 23:03:50 -0500 |
| commit | 25fc79974ca58537544a5056299bf0ca4828467c (patch) | |
| tree | 45c99f1741c43081da57925680ef43e7af5dec9d | |
| parent | e190624eb0f608469f43d374dbc5d737e3eab31e (diff) | |
| download | invidious-25fc79974ca58537544a5056299bf0ca4828467c.tar.gz invidious-25fc79974ca58537544a5056299bf0ca4828467c.tar.bz2 invidious-25fc79974ca58537544a5056299bf0ca4828467c.zip | |
Add support for empty continuation parameter
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 9d2a5924..9ad2e9b2 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -1705,7 +1705,7 @@ get "/api/v1/comments/:id" do |env| ctoken = ctoken["ctoken"] itct = body.match(/itct=(?<itct>[^"]+)"/).not_nil!["itct"] - if env.params.query["continuation"]? + if env.params.query["continuation"]? && !env.params.query["continuation"].empty? continuation = env.params.query["continuation"] ctoken = continuation else |
