Skip to content

Commit

Permalink
[v10] Add c- prefix to the OS field of the feedback form (#1009) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ravicious authored Jul 22, 2022
1 parent 178a0e6 commit b964858
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ export function useShareFeedback() {
preValidateForm();

const formData = new FormData();
formData.set('OS', ctx.mainProcessClient.getRuntimeSettings().platform);
const { platform } = ctx.mainProcessClient.getRuntimeSettings();
// The `c-` prefix is added on purpose to differentiate feedback forms sent from Connect.
const os = `c-${platform}`;
formData.set('OS', os);
formData.set('email', formValues.email);
formData.set('company', formValues.company);
formData.set('use-case', formValues.feedback);
Expand Down

0 comments on commit b964858

Please sign in to comment.