Skip to content

Commit f7326f8

Browse files
authored
Merge pull request #76 from Green-Software-Foundation/claude/friendly-clarke-kpg9ff
Remove unused fields from Assembly application form
2 parents ff47caa + 0083ca3 commit f7326f8

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

netlify/functions/submission-created.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,31 +90,21 @@ async function handleAssemblyApplication(notion, data) {
9090
"Job Title": {
9191
rich_text: [{ text: { content: data["job-title"] || "" } }],
9292
},
93-
"LinkedIn URL": { url: data["linkedin-url"] || null },
94-
"GitHub Username": {
95-
rich_text: [{ text: { content: data["github-username"] || "" } }],
96-
},
9793
"Sector / Industry": data["sector-industry"]
9894
? { select: { name: data["sector-industry"] } }
9995
: undefined,
100-
Timezone: { rich_text: [{ text: { content: data["timezone"] || "" } }] },
10196
"Years of Experience": data["years-of-experience"]
10297
? { select: { name: data["years-of-experience"] } }
10398
: undefined,
10499
Expertise: { rich_text: [{ text: { content: data["expertise"] || "" } }] },
105100
Motivation: {
106101
rich_text: [{ text: { content: data["motivation"] || "" } }],
107102
},
108-
"Previous GSF Involvement": {
109-
rich_text: [
110-
{ text: { content: data["previous-gsf-involvement"] || "" } },
111-
],
112-
},
113103
"How Did You Hear About This?": {
114104
rich_text: [{ text: { content: data["how-did-you-hear"] || "" } }],
115105
},
116106
"Stay Informed": { checkbox: data["stay-informed"] === "true" },
117-
Confirmation: { checkbox: data["confirmation"] === "true" },
107+
Confirmation: { checkbox: data["privacy-consent"] === "true" },
118108
};
119109

120110
// Remove undefined values (e.g. empty select fields)

0 commit comments

Comments
 (0)