Remove unused variable from the Book sync task.
This commit is contained in:
@@ -46,7 +46,7 @@ defmodule DecentralisedBookIndex.SyncTasks.SyncBooksTask do
|
|||||||
end
|
end
|
||||||
|
|
||||||
defp get_author_roles_url(json) do
|
defp get_author_roles_url(json) do
|
||||||
url = get_in(json, ["relationships", "author_roles", "links", "related"])
|
get_in(json, ["relationships", "author_roles", "links", "related"])
|
||||||
end
|
end
|
||||||
|
|
||||||
defp get_author_roles(json) do
|
defp get_author_roles(json) do
|
||||||
@@ -64,7 +64,7 @@ defmodule DecentralisedBookIndex.SyncTasks.SyncBooksTask do
|
|||||||
end
|
end
|
||||||
|
|
||||||
defp get_bids_url(json) do
|
defp get_bids_url(json) do
|
||||||
url = get_in(json, ["relationships", "bids", "links", "related"])
|
get_in(json, ["relationships", "bids", "links", "related"])
|
||||||
end
|
end
|
||||||
|
|
||||||
defp get_bids(json) do
|
defp get_bids(json) do
|
||||||
|
|||||||
Reference in New Issue
Block a user