Skip to content

Commit 7a7e780

Browse files
Sync kit docs (#1614)
sync kit docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent a0a110d commit 7a7e780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/svelte.dev/content/docs/kit/20-core-concepts/60-remote-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ export const getProfile = query(async () => {
11481148

11491149
// this query could be called from multiple places, but
11501150
// the function will only run once per request
1151-
const getUser = query(() => {
1151+
const getUser = query(async () => {
11521152
const { cookies } = getRequestEvent();
11531153

11541154
return await findUser(cookies.get('session_id'));

0 commit comments

Comments
 (0)