1
0
Fork 0
mirror of synced 2024-08-02 11:51:34 +12:00

Remove unnecessary deletes

This commit is contained in:
adrinr 2023-03-27 16:43:04 +01:00
parent 5d487950b1
commit 3c081843f0

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,
})