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

Unusual employee's API response #183

Open
Archichil opened this issue Jul 28, 2024 · 2 comments
Open

Unusual employee's API response #183

Archichil opened this issue Jul 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Archichil
Copy link

Employee's API comes with "startDate": null, "endDate": null, "startExamsDate": null, "endExamsDate": null, but with actual pairs. (ex. https://iis.bsuir.by/api/v1/employees/schedule/e-shostak)
e-shostak.json
App doesn't show pairs with this type of response. (I think that these null fields are the issue)

@Archichil Archichil added the bug Something isn't working label Jul 28, 2024
@Archichil
Copy link
Author

I can define app's behavior as expected, because without startDate we don't really know from what day should we count. But it's possible to improve the app's behavior by switching to the week schedule view if the actual schedule is not empty. Currently, the app redirects to the exams view, which is empty.

@Archichil
Copy link
Author

Instances of empty fields have also been seen in the group schedule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant