Fix movie creation

This commit is contained in:
2023-11-25 15:52:06 +11:00
parent a341fbe072
commit 226b4e1963

View File

@@ -7,7 +7,7 @@ module Admin
include Deps["repos.movie_repo"]
def call(movie)
repo = Adamantium::Container["repos.movie_repo"]
repo = Container["repos.movie_repo"]
return if repo.by_title_and_year(title: movie[:title], year: movie[:year])