Skip to content

Commit 58132d9

Browse files
committed
fix: explicit pub priv profile behaviour
1 parent 2a54351 commit 58132d9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

platforms/profile-editor/api/src/services/EVaultProfileService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export class EVaultProfileService {
166166
phone: profData.phone,
167167
website: profData.website,
168168
location: profData.location,
169-
isPublic: profData.isPublic !== false, // default to public when not explicitly set
169+
isPublic: profData.isPublic === true, // default to public when not explicitly set
170170
workExperience: profData.workExperience ?? [],
171171
education: profData.education ?? [],
172172
skills: profData.skills ?? [],

platforms/profile-editor/api/src/services/EVaultSyncService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class EVaultSyncService {
9999
avatarFileId: profile.professional.avatarFileId,
100100
bannerFileId: profile.professional.bannerFileId,
101101
skills: profile.professional.skills,
102-
isPublic: profile.professional.isPublic !== false,
102+
isPublic: profile.professional.isPublic === true,
103103
isArchived: false,
104104
});
105105
}

0 commit comments

Comments
 (0)