Remove unnecessary deletes

This commit is contained in:
adrinr 2023-03-27 16:43:04 +01:00
parent 5d487950b1
commit 3c081843f0
1 changed files with 1 additions and 8 deletions

View File

@ -20,16 +20,9 @@
$: scimEnabled = false
$: apiKey = null
async function saveConfig(config) {
// Delete unsupported fields
delete config.createdAt
delete config.updatedAt
return API.saveConfig(config)
}
async function saveSCIM() {
try {
await saveConfig({
await API.saveConfig({
type: configType,
enabled: scimEnabled,
})