Skip to content

Commit

Permalink
Merge branch 'fix/api-usage-alerting-in-production' of github.com:Fla…
Browse files Browse the repository at this point in the history
…gsmith/flagsmith into fix/api-usage-alerting-in-production
  • Loading branch information
zachaysan committed Mar 18, 2024
2 parents 1f07ee1 + eedcc37 commit 136bdd1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions api/edge_api/identities/edge_identity_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ def get_edge_identity_overrides(
environment_id=environment_id, feature_id=feature_id
)
)
for item in override_items:
item["environment_id"] = str(item["environment_id"])

return [IdentityOverrideV2.model_validate(item) for item in override_items]
return [
IdentityOverrideV2.model_validate(
{**item, "environment_id": str(item["environment_id"])}
)
for item in override_items
]

0 comments on commit 136bdd1

Please sign in to comment.