Skip to content

Commit

Permalink
meta is optional in the response
Browse files Browse the repository at this point in the history
  • Loading branch information
nudded committed Oct 31, 2024
1 parent 4478299 commit 6c6f5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lago_python_client/services/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def prepare_index_response(
api_resource: [
prepare_object_response(response_model=response_model, data=el) for el in response_data[api_resource]
],
"meta": response_data["meta"],
"meta": response_data.get("meta", None),
}


Expand Down

0 comments on commit 6c6f5b2

Please sign in to comment.