Skip to content

Commit

Permalink
fix(GraphQL/VideoCaptions): resolver bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Betree committed Jun 25, 2024
1 parent c584efc commit 0257c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cf_graphql/lib/resolvers/videos.ex
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ defmodule CF.Graphql.Resolvers.Videos do
case Map.get(results, video.id) do
captions when is_list(captions) ->
captions
|> List.first(captions)
|> List.first()
|> Map.get(:parsed)
|> Enum.map(&CF.Utils.map_string_keys_to_atom_keys/1)

Expand Down

0 comments on commit 0257c65

Please sign in to comment.