Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deployment fixes #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
)

mortgageCalculator_put_args.add_argument(
"interest_rate", type=int, help="Interest rate is required"
"interest_rate", type=float, help="Interest rate is required"
)

mortgageCalculator_put_args.add_argument(
"commission", type=int, help="Commission is required", required=True
"commission", type=float, help="Commission is required", required=True
)


Expand Down Expand Up @@ -149,7 +149,7 @@ def get(self):

list_both = [dict_3m, dict_6m]

return {"WIBOR CHART": list_both}, 201
return {"WIBOR_CHART": list_both}, 201


class WiborTable(Resource):
Expand Down
55 changes: 24 additions & 31 deletions backend/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ beautifulsoup4 = "^4.10.0"
Flask-RESTful = "^0.3.9"
Flask-Cors = "^3.0.10"
Flask-PyMongo = "^2.3.0"
pymongo = {extras = ["srv"], version = "^4.1.1"}

[tool.poetry.dev-dependencies]
black = "^22.1.0"
Expand Down
Loading