mirror of
https://gitea.invidious.io/iv-org/instances-api.git
synced 2024-08-15 00:53:15 +00:00
Update dependencies
This commit is contained in:
parent
771b0b31b2
commit
1a07a52113
2 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,6 @@ dependencies:
|
|||
github: kemalcr/kemal
|
||||
version: ~> 0.26.1
|
||||
|
||||
crystal: 0.33.0
|
||||
crystal: 0.34.0
|
||||
|
||||
license: AGPLv3
|
||||
|
|
|
@ -156,6 +156,8 @@ def sort_instances(instances, sort_by)
|
|||
compare = first <=> sort.call(b[0], b[1]).as(Float64)
|
||||
when String
|
||||
compare = first <=> sort.call(b[0], b[1]).as(String)
|
||||
else
|
||||
raise "Invalid proc"
|
||||
end
|
||||
break if compare != 0
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue