Skip to content

Commit 6b89af9

Browse files
committed
update: missed object param change.
1 parent d688cfe commit 6b89af9

File tree

2 files changed

+4
-3
lines changed
  • src/routes

2 files changed

+4
-3
lines changed

src/routes/(console)/project-[region]-[project]/overview/api-keys/+page.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import type { PageLoad } from './$types';
55
export const load: PageLoad = async ({ params, depends }) => {
66
depends(Dependencies.KEYS);
77
return {
8-
keys: await sdk.forConsole.projects.listKeys(params.project)
8+
keys: await sdk.forConsole.projects.listKeys({
9+
projectId: params.project
10+
})
911
};
1012
};

src/routes/(public)/auth/magic-url/+page.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
const userId = page.url.searchParams.get('userId');
1717
const secret = page.url.searchParams.get('secret');
1818
19-
// what's the replacement?
20-
await account.updateMagicURLSession({
19+
await account.createSession({
2120
userId,
2221
secret
2322
});

0 commit comments

Comments
 (0)