Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua committed Dec 7, 2023
1 parent b802278 commit f999f3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ services:
provider_portal:
build: ./provider_portal
container_name: provider_portal
ports:
- 8100:8100
volumes:
- ./provider_portal:/app/provider_portal
- ./smart_meter/config/certificates/smartmeter_certificates:/app/smart_meter/config/certificates/smartmeter_certificates
Expand Down
2 changes: 1 addition & 1 deletion provider_portal/app/api/customer_api/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Response:
# Define messages and their corresponding HTTP status codes
MESSAGES = {
"success_create_meter": ("Smart Meter wurde erfolgreich angelegt.", 201),
"success_delete_meter": ("Smart Meter wurde erfolgreich gelöscht.", 200),
"success_delete_meter": ("Smart Meter wurde erfolgreich geloescht.", 200),

"error_create_meter": ("Smart Meter konnte nicht angelegt werden. Die Kombination von Meter UID und Customer UID existiert bereits.", 409),
"error_meter_customer_combination": ("Die Kombination von Meter UID und Customer UID existiert nicht.", 404),
Expand Down

0 comments on commit f999f3c

Please sign in to comment.