Skip to content

Commit

Permalink
Merge pull request #609 from ELEVATE-Project/1242-bug-fix
Browse files Browse the repository at this point in the history
added meeting link for session creator
  • Loading branch information
rakeshSgr authored Feb 19, 2024
2 parents e2d0c03 + 2770e95 commit 47ed57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/sessions.js
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ module.exports = class SessionsHelper {
}
}

if (userId != sessionDetails.mentor_id) {
if (userId != sessionDetails.mentor_id && userId != sessionDetails.created_by) {
delete sessionDetails?.meeting_info?.link
delete sessionDetails?.meeting_info?.meta
} else {
Expand Down

0 comments on commit 47ed57e

Please sign in to comment.