Compare commits

..
3 Commits
Author SHA1 Message Date
alphafetus 9ff4b892f5 chore: update README 2026-10-25 14:10:56 -04:00
Lucas Vas 2e0e47d72b Merge pull request #81 from R15-Software-Dev/fix/admin-file-errors
Insert trailing commas after lists of strings
2026-04-27 15:02:16 -04:00
alphafetus 287598bb79 fix: insert trailing commas after lists of strings
This was already present for lists of dictionaries, but lists that contained a single string also failed to parse properly.
2026-04-27 14:57:31 -04:00
2 changed files with 4 additions and 7 deletions

No files matched your search

+2 -6
View File
@@ -13,9 +13,5 @@ from the AWS resources, you will need to be approved by me or someone else with
usable auth key from AWS IAM. usable auth key from AWS IAM.
## Current Tasks ## Current Tasks
There are several tasks left to complete. These are a few of the larger ones: The application is deployed! However, it doesn't have some core features that need to be present in order for this
to be considered complete. Check the Issues tab for more information.
- Build the application's custom elements
- Build out the database requests
- Create proper authentication
- PDF generation using data (server-side)
+2 -1
View File
@@ -554,7 +554,8 @@ pub async fn get_student_pdf(student_id: String) -> Result<(String, Vec<u8>), Se
.replace("[", "(") .replace("[", "(")
.replace("]", ")") .replace("]", ")")
// Ensures trailing commas for lists of dictionaries // Ensures trailing commas for lists of dictionaries
.replace("))", "),)"); .replace("))", "),)")
.replace("\")", "\",)");
debug_log!("New string: {}", typst_string); debug_log!("New string: {}", typst_string);