openwallet-foundation / acapy

ACA-Py is a foundation for building decentralized identity applications and services running in non-mobile environments.
https://aca-py.org
Apache License 2.0
419 stars 512 forks source link

Ensure that DAP_PORT is always an int #3241

Closed Gavinok closed 2 months ago

Gavinok commented 2 months 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 2 months 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