You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use Search.SearchFor and passing "asc" as SortOrder (default on zendesk is desc - https://developer.zendesk.com/rest_api/docs/core/search), but the code seems to pass "desc" or nothing to the API. I assume that's because the default was "asc" before. Recommendation: do not assume the default and pass along the user's value. Perhaps introduce an enum for this value, so the user does not pass an invalid value (ex. "ascending").
The text was updated successfully, but these errors were encountered:
Trying to use Search.SearchFor and passing "asc" as SortOrder (default on zendesk is desc - https://developer.zendesk.com/rest_api/docs/core/search), but the code seems to pass "desc" or nothing to the API. I assume that's because the default was "asc" before. Recommendation: do not assume the default and pass along the user's value. Perhaps introduce an enum for this value, so the user does not pass an invalid value (ex. "ascending").
The text was updated successfully, but these errors were encountered: