Commit e9d39ace authored by Emmanuel Raviart's avatar Emmanuel Raviart

Increase depth to 5 when getting a card. Fix #97.

parent b79ec517
......@@ -119,7 +119,7 @@ getCard authentication cardId =
Http.request
{ method = "GET"
, headers = authenticationHeaders authentication
, url = apiUrl ++ "objects/" ++ cardId ++ "?depth=4&show=references&show=values"
, url = apiUrl ++ "objects/" ++ cardId ++ "?depth=5&show=references&show=values"
, body = Http.emptyBody
, expect = Http.expectJson dataIdBodyDecoder
, timeout = Nothing
......@@ -321,7 +321,7 @@ postCard authentication fields language =
Http.request
{ method = "POST"
, headers = authenticationHeaders authentication
, url = apiUrl ++ "cards/easy" ++ "?depth=4&show=references&show=values"
, url = apiUrl ++ "cards/easy" ++ "?depth=5&show=references&show=values"
, body = body
, expect = Http.expectJson dataIdBodyDecoder
, timeout = Nothing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment