mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: update api key
This commit is contained in:
1 parent
ec370a8950
commit
23cdc527d3
1 file changed
+7
-1
+7
-1
@@ -29,7 +29,13 @@
|
||||
|
||||
async function updateName() {
|
||||
try {
|
||||
await sdkForConsole.projects.updateKey($project.$id, $key.$id, name, $key.scopes);
|
||||
await sdkForConsole.projects.updateKey(
|
||||
$project.$id,
|
||||
$key.$id,
|
||||
name,
|
||||
$key.scopes,
|
||||
$key.expire
|
||||
);
|
||||
invalidate(Dependencies.KEY);
|
||||
addNotification({
|
||||
type: 'success',
|
||||
|
||||
Reference in new issue
Block a user