Invidious is an alternative front-end to YouTube
Bump supported Crystal version
Omar Rothda07f99d3d81
diff --git a/shard.yml b/shard.ymlindex 3980201d..69c1610f 100644--- a/shard.yml+++ b/shard.yml@@ -19,6 +19,6 @@ dependencies:github: kemalcr/kemalversion: ~> 0.26.0-crystal: 0.31.0+crystal: 0.31.1license: AGPLv3diff --git a/src/invidious/helpers/handlers.cr b/src/invidious/helpers/handlers.crindex 949eb335..f2240691 100644--- a/src/invidious/helpers/handlers.cr+++ b/src/invidious/helpers/handlers.cr@@ -237,16 +237,3 @@ class HTTP::Clientresponseendend--struct Crystal::ThreadLocalValue(T)- @values = Hash(Thread, T).new-- def get(&block : -> T)- th = Thread.current- if !@values[th]?- @values[th] = yield- else- @values[th]- end- end-end