update: missed object param change.

This commit is contained in:
Darshan
2025-08-26 13:48:18 +05:30
parent d688cfe3bc
commit 6b89af98da
2 changed files with 4 additions and 3 deletions
@@ -5,6 +5,8 @@ import type { PageLoad } from './$types';
export const load: PageLoad = async ({ params, depends }) => {
depends(Dependencies.KEYS);
return {
keys: await sdk.forConsole.projects.listKeys(params.project)
keys: await sdk.forConsole.projects.listKeys({
projectId: params.project
})
};
};
@@ -16,8 +16,7 @@
const userId = page.url.searchParams.get('userId');
const secret = page.url.searchParams.get('secret');
// what's the replacement?
await account.updateMagicURLSession({
await account.createSession({
userId,
secret
});