Skip to content

feat: 馃幐 Abscense registration for HT and Skolplattformen - #573

Open
viktorlarsson wants to merge 3 commits into
mainfrom
feat/abscense-registration-hjarntorget
Open

feat: 馃幐 Abscense registration for HT and Skolplattformen#573
viktorlarsson wants to merge 3 commits into
mainfrom
feat/abscense-registration-hjarntorget

Conversation

@viktorlarsson

Copy link
Copy Markdown
Contributor

No description provided.

@viktorlarsson
viktorlarsson marked this pull request as ready for review December 2, 2021 21:00
Comment thread libs/api-hjarntorget/lib/apiHjarntorget.ts Outdated
Comment thread libs/api-hjarntorget/lib/apiHjarntorget.ts Outdated
Comment thread libs/api-hjarntorget/lib/apiHjarntorget.ts Outdated
This changes teh registerAbscence api to use DateTime instead of Date,
mainly to be consistent with getSchedule that already used DateTime.

The main fixes that was missing is properly formatting the start and end
dates sent to the server and ensuring a `Referer` header is included
similar to what is sent in the browser.
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.

2 participants