adds success notification when saving api keys

This commit is contained in:
Keviin Åberg Kultalahti 2021-03-12 13:29:54 +01:00
parent 98d88bef23
commit 586d5fbe3c
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@
const response = await api.put(`/api/keys/${key}`, { value })
const res = await response.json()
keys = { ...keys, ...res }
notifier.success("API Key saved.")
}
// Get Keys