Skip to content

Commit

Permalink
Merge pull request #32 from Recruitee/reports-move-to-locus-CU-86c0p0yb9
Browse files Browse the repository at this point in the history
Correct typo CU-86c0p0yb9
  • Loading branch information
jacooobi authored Oct 24, 2024
2 parents dbdafe0 + 86f1c0e commit e926c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plausible_web/controllers/api/external_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ defmodule PlausibleWeb.Api.ExternalController do
defp get_subdivision_code(nil, _), do: ""

defp get_subdivision_code(geo_data, n) do
subdivisions = Map.get(geo_data, "subdivision", [])
subdivisions = Map.get(geo_data, "subdivisions", [])
country_code = get_country_code(geo_data)

case Enum.at(subdivisions, n) do
Expand Down

0 comments on commit e926c0c

Please sign in to comment.