Remove unnecessary deletes
This commit is contained in:
parent
5d487950b1
commit
3c081843f0
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue