Remove unnecessary deletes
This commit is contained in:
parent
5d487950b1
commit
3c081843f0
|
@ -20,16 +20,9 @@
|
||||||
$: scimEnabled = false
|
$: scimEnabled = false
|
||||||
$: apiKey = null
|
$: apiKey = null
|
||||||
|
|
||||||
async function saveConfig(config) {
|
|
||||||
// Delete unsupported fields
|
|
||||||
delete config.createdAt
|
|
||||||
delete config.updatedAt
|
|
||||||
return API.saveConfig(config)
|
|
||||||
}
|
|
||||||
|
|
||||||
async function saveSCIM() {
|
async function saveSCIM() {
|
||||||
try {
|
try {
|
||||||
await saveConfig({
|
await API.saveConfig({
|
||||||
type: configType,
|
type: configType,
|
||||||
enabled: scimEnabled,
|
enabled: scimEnabled,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue