Upgraded dependencies, bumped to Node 24.

This commit is contained in:
2026-07-12 05:27:14 +02:00
parent 2d4786a4fd
commit d745b10d24
181 changed files with 18720 additions and 23134 deletions
+3 -2
View File
@@ -1,9 +1,9 @@
import config from 'config';
import { parse } from 'yaml';
import { knexOwner as knex } from './knex.js';
// import { curateStash } from './stashes.js';
import { HttpError } from './errors.js';
import { knexOwner as knex } from './knex.js';
function curateTemplate(template) {
return {
@@ -90,7 +90,8 @@ export async function createTemplate(template, reqUser) {
try {
parse(template.template);
} catch (error) {
}
catch (error) {
throw new HttpError(`Invalid YAML: ${error.message}`, 400);
}