mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
update: missed object param change.
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user