Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Ihor Khomenko committed Mar 12, 2024
1 parent 91748c4 commit 5718d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastapi_soap/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def some_webservice(
def parse_model(data: str = Body()):
model_ = SoapEnvelope[model, SoapBody[BodyContent]]
envelope = cast(
SoapEnvelope[model, SoapBody[BodyContent]], model_.from_xml(data)
SoapEnvelope[model, SoapBody[BodyContent]], model_.from_xml(data.encode())
)
return envelope.header

Expand Down

0 comments on commit 5718d15

Please sign in to comment.