mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
update: missed object param change.
This commit is contained in:
1 parent
d688cfe3bc
commit
6b89af98da
2 files changed
+4
-3
No files matched your search
@@ -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