Skip to content

Commit

Permalink
Correct name
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwijos committed Jan 17, 2024
1 parent f557cda commit 5ae9c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/(protected)/admin/users/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const updateStatus: Action = async ({ request, fetch }) => {
const userId = data.get('userId');

if (typeof activeString !== 'string' || !activeString) {
return fail(400, { active, invalid: true });
return fail(400, { activeString, invalid: true });
}

if (typeof userId !== 'string' || !userId) {
Expand Down

0 comments on commit 5ae9c94

Please sign in to comment.