|
|
|
@ -46,7 +46,7 @@ defmodule DecentralisedBookIndex.SyncTasks.SyncBooksTask do
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
defp get_author_roles(json) do
|
|
|
|
@ -64,7 +64,7 @@ defmodule DecentralisedBookIndex.SyncTasks.SyncBooksTask do
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
defp get_bids_url(json) do
|
|
|
|
|
url = get_in(json, ["relationships", "bids", "links", "related"])
|
|
|
|
|
get_in(json, ["relationships", "bids", "links", "related"])
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
defp get_bids(json) do
|
|
|
|
|