Skip to content

Commit

Permalink
Cleanup brux and add to refetch all
Browse files Browse the repository at this point in the history
  • Loading branch information
bonflintstone committed Oct 29, 2024
1 parent e6c3893 commit c4a2342
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/fetch_brux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def self.call
description = event_row.css("p").text.strip
location = "Brux"

pp Event.create(datetime:, location:, name:, link:, description:, organization: "Brux").errors
Event.create(datetime:, location:, name:, link:, description:, organization: "Brux")
end
end
end
1 change: 1 addition & 0 deletions app/services/refetch_all.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ def self.call
FetchTheaterPraesent.call
FetchBaeckerei.call
FetchHausDerMusik.call
FetchBrux.call

RefetchEvent.create(new_event_count: Event.count)
end
Expand Down

0 comments on commit c4a2342

Please sign in to comment.