1
0
mirror of https://github.com/algora-io/tv.git synced 2025-02-04 01:53:25 +02:00

delete top level namespaces in script

This commit is contained in:
zafer 2024-03-06 19:24:58 +03:00
parent ca4eb3c48b
commit edc11fbd1e

View File

@ -46,7 +46,7 @@ defmodule Video do
url = "https://youtube.com/watch?v=#{video["id"]}"
"{1, nil} = Algora.Repo.update_all(Ecto.Query.from(v in Algora.Library.Video, where: v.url == \"#{url}\"), set: [duration: #{duration}])"
"{1, nil} = Repo.update_all(from(v in Library.Video, where: v.url == \"#{url}\"), set: [duration: #{duration}])"
end
end
```