1 2 3 4 5 6 7 8 9 10 11
import { get } from "$lib/utils"; import updateUser from "$lib/settings"; export const load = async () => { const { challenge } = await get("/challenge"); return { challenge }; }; export const actions = { default: updateUser, };