Skip to content

Commit 55ecc1e

Browse files
committed
fix: take the fields with the proper restrictions
1 parent 0a70aec commit 55ecc1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/profile/data/services.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export async function getExtendedProfileFields(urlParams) {
174174
});
175175

176176
const extendedProfileFields = data.optionalFields.extended_profile
177-
.map((fieldName) => (data.optionalFields.fields[fieldName] ?? data.registrationFields.fields[fieldName]))
177+
.map((fieldName) => (data.registrationFields.fields[fieldName]))
178178
.filter(Boolean);
179179

180180
return { fields: extendedProfileFields };

0 commit comments

Comments
 (0)