Skip to content

Commit bba1a04

Browse files
committed
fix undefined variable
1 parent d35b489 commit bba1a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/settings/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
async function save() {
2222
in_progress = true;
2323
24-
const response = await post(`auth/save`, user);
24+
const response = await post(`auth/save`, data.user);
2525
2626
errors = response.errors;
2727
if (response.user) {

0 commit comments

Comments
 (0)