hire-a-senior / backend

0 stars 2 forks source link

Only SENIORS can accept SessionRequests #92

Closed Mert18 closed 1 year ago

Mert18 commented 1 year ago

Add the constraint that only accounts who has "SENIOR" title can accept "SessionRequest"

Mert18 commented 1 year ago

Extract the user information from jwt token, find the account, then extract the title and check.