Skip to content

Commit

Permalink
Align exception-translations with translation directive
Browse files Browse the repository at this point in the history
  • Loading branch information
CoMPaTech authored Dec 5, 2024
1 parent 529d1bc commit 701825d
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ async def async_set_schedule(call: ServiceCall) -> ServiceResponse:
```json
{
"exceptions": {
"end_date_before_start_date": "The end date cannot be before the start date.",
"cannot_connect_to_schedule": "Cannot connect to the schedule."
"end_date_before_start_date": {
"message": "The end date cannot be before the start date."
},
"cannot_connect_to_schedule": {
"message": "Cannot connect to the schedule."
}
}
}
```
Expand Down

0 comments on commit 701825d

Please sign in to comment.