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:
parent
ca4eb3c48b
commit
edc11fbd1e
@ -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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user