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

Make the sessionProposal availability work for both Student and Teacher. #81

Open
codedevbrad opened this issue Dec 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@codedevbrad
Copy link
Owner

fetching availability needs to work differently if Student or Teacher.

  • if adminUser, you can just fetch your availability through the adminUser calendar relation (admin.query),
  • otherwise, if you're a student, lookup your teacher and get their id, then fetch the calendar using the teacher Id. ( student.query )
@codedevbrad codedevbrad self-assigned this Dec 19, 2024
@codedevbrad codedevbrad added the enhancement New feature or request label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant