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

service: do not omit support hours #258

Closed
wants to merge 1 commit into from

Conversation

GiedriusS
Copy link
Contributor

CreateService() API contract has been randomly changed without a notice
to not accept the non-existence of the support_hours key. Creating a
service currently fails with:

Failed call API endpoint. HTTP response code: 400. Error: \u0026{2001 Invalid Input Provided [Support hours is required.]}

The API gladly accepts the same payload when support_hours is
explicitly set to null in the resulting JSON.

CreateService() API contract has been randomly changed without a notice
to not accept the non-existence of the `support_hours` key. Creating a
service currently fails with:

```
Failed call API endpoint. HTTP response code: 400. Error: \u0026{2001 Invalid Input Provided [Support hours is required.]}
```

The API gladly accepts the same payload when `support_hours` is
_explicitly_ set to `null` in the resulting JSON.
@GiedriusS
Copy link
Contributor Author

Actually, this has been done already: #255. Let's merge that one!

@GiedriusS GiedriusS closed this Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant