diff options
Diffstat (limited to 'src/routes/(app)/send')
| -rw-r--r-- | src/routes/(app)/send/[...text]/+page.server.ts | 2 | ||||
| -rw-r--r-- | src/routes/(app)/send/[...text]/+page.svelte | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/send/[...text]/+page.server.ts b/src/routes/(app)/send/[...text]/+page.server.ts index 81726ad1..9f0891d9 100644 --- a/src/routes/(app)/send/[...text]/+page.server.ts +++ b/src/routes/(app)/send/[...text]/+page.server.ts @@ -4,7 +4,7 @@ import { fail, redirect } from "@sveltejs/kit"; const limit = 10; export async function load({ cookies, depends, params, parent, url }) { - depends("contacts"); + depends("app:contacts"); const { user } = await parent(); if (!user) redirect(307, "/login"); const { text } = params; diff --git a/src/routes/(app)/send/[...text]/+page.svelte b/src/routes/(app)/send/[...text]/+page.svelte index 3caf4bc9..e888a400 100644 --- a/src/routes/(app)/send/[...text]/+page.svelte +++ b/src/routes/(app)/send/[...text]/+page.svelte @@ -48,7 +48,7 @@ } if (all) all = await get("/contacts"); - else invalidate("contacts"); + invalidate("app:contacts"); }; $effect(() => { |
