Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 6d0df8f

Browse files
authored
Make user profile public by exposing the user id (#208)
1 parent a9eecbd commit 6d0df8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

profiles.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = function (options) {
2121
];
2222

2323
var mentorPublicFields = [
24+
'id',
2425
'name',
2526
'languagesSpoken',
2627
'programmingLanguages',
@@ -56,6 +57,7 @@ module.exports = function (options) {
5657
];
5758

5859
var parentGuardianPublicFields = [
60+
'id',
5961
'name',
6062
'languagesSpoken',
6163
'programmingLanguages',

0 commit comments

Comments
 (0)