Use new hanami db classes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module Main
|
||||
module Repos
|
||||
class PodcastScrobbleRepo < Adamantium::Repo[:podcast_scrobbles]
|
||||
class PodcastScrobbleRepo < Adamantium::DB::Repo[:podcast_scrobbles]
|
||||
def exists?(id:)
|
||||
!!podcast_scrobbles
|
||||
.where(overcast_id: id)
|
||||
|
Reference in New Issue
Block a user