mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: non-expiring api key disallowing name updates
This commit is contained in:
@@ -10,6 +10,8 @@ export const load: PageLoad = async ({ params, depends }) => {
|
||||
const key = await sdk.forConsole.projects.getKey(params.project, params.key);
|
||||
if (key.expire) {
|
||||
key.expire = new Date(key.expire).toISOString().slice(0, 23);
|
||||
} else {
|
||||
key.expire = undefined;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user