Skip to content

Implemented GetCohortByUserId. Added some checks - #112

Merged
Jonnashell merged 6 commits into
mainfrom
106-backend---implement-getcohortbyuserid
Sep 23, 2025
Merged

Jonnashell merged 6 commits into
mainfrom
106-backend---implement-getcohortbyuserid

Conversation

@romaneriksen

Copy link
Copy Markdown
Contributor

Implemented the GetCohortByUserId in the cohort endpoints. Retrieves all the cohorts a user is in, and will inform if the user does not exist or if it is not registered in a cohort.

Also added a check in GetCohort, which now checks for a valid cohortId

@romaneriksen romaneriksen linked an issue Sep 22, 2025 that may be closed by this pull request
@Jonnashell
Jonnashell self-requested a review September 23, 2025 07:07
@Jonnashell
Jonnashell merged commit ddd1bda into main Sep 23, 2025
1 check passed
@Jonnashell
Jonnashell deleted the 106-backend---implement-getcohortbyuserid branch September 23, 2025 07:32
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.

BACKEND - Implement getCohortByUserId

2 participants