Browse Source

Fixed rufus job bug

Stephen 1 month ago
parent
commit
eb90ae545a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/youtube.rb

+ 1 - 1
lib/youtube.rb

@ -1,6 +1,6 @@
1 1
class Youtube
2 2
  def self.update_from_subs()
3
    Subscription.all.each do |s|
3
    Channel.all.each do |s|
4 4
      begin
5 5
        h = self.get_channel_videos(s.url)
6 6
        s.name = h["title"]