Change parameter order

This commit is contained in:
2024-08-16 18:17:44 +02:00
parent dea401fec0
commit 3696bcade2
3 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@ export const actions = {
const name = formName as string;
if (!safePath(name, storagePath)) {
if (!safePath(storagePath, name)) {
return fail(400, { field: 'name', name: name, incorrect: true });
}
// const name = safePath(formName as string);