From 1fa86afee46e59d9ee5aba2555af529cb60f2781 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Mon, 4 Nov 2024 15:07:58 +0000 Subject: [PATCH] Fix projects saving --- CHANGELOG.md | 4 ++++ gleam.toml | 2 +- src/survey/router.gleam | 12 ++++++------ 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a78db04..35378e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v1.6.1 - 2024-11-04 + +- Fixed `projects` field not getting saved. + ## v1.6.0 - 2024-11-04 - The Cloudflare Tunnel `"cf-connecting-ip"` header is now used to get the diff --git a/gleam.toml b/gleam.toml index 3910af8..ab6e57b 100644 --- a/gleam.toml +++ b/gleam.toml @@ -1,5 +1,5 @@ name = "survey" -version = "1.6.0" +version = "1.6.1" licences = ["Apache-2.0"] # Fill out these fields if you intend to generate HTML documentation or publish diff --git a/src/survey/router.gleam b/src/survey/router.gleam index a078927..6a5ec44 100644 --- a/src/survey/router.gleam +++ b/src/survey/router.gleam @@ -81,12 +81,12 @@ fn data_collection() { } const question_names = [ - "individual-sponsor", "company-sponsor", "sponsor-motivation", "gleam-user", - "gleam-experience", "gleam-open-source", "targets", "writing-libraries", - "writing-applications", "runtimes", "gleam-in-production", "company-name", - "professional-experience", "other-languages", "news-sources", "country", - "likes", "improvements", "job-role", "company-size", "production-os", - "development-os", "anything-else", + "projects", "individual-sponsor", "company-sponsor", "sponsor-motivation", + "gleam-user", "gleam-experience", "gleam-open-source", "targets", + "writing-libraries", "writing-applications", "runtimes", "gleam-in-production", + "company-name", "professional-experience", "other-languages", "news-sources", + "country", "likes", "improvements", "job-role", "company-size", + "production-os", "development-os", "anything-else", ] const html_head = "