openwallet-foundation / acapy

Hyperledger Aries Cloud Agent Python (ACA-Py) is a foundation for building decentralized identity applications and services running in non-mobile environments.
https://wiki.hyperledger.org/display/aries
Apache License 2.0
408 stars 512 forks source link

Ensure that DAP_PORT is always an int #3241

Closed Gavinok closed 2 weeks ago

Gavinok commented 3 weeks ago

As of now when the --debug flag is used with the set DAP_PORT env var will result in an exception since the port number will default to being a string rather than the required int type. The source of this error can be found here

This PR simply converts the port number from an str into an int

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud